Julian Mehnle wrote:
> Chet Ramey wrote:
> 
>>Julian Mehnle wrote:
>>
>>>>>Description:
>>>>>The history timestamping feature of Bash 3.0 does not respect the
>>>>>TZ (timezone) environment variable.  It erroneously always uses the
>>>>>system clock's configured timezone.
>>
>>[...]
>>
>>Do you understand that strftime() performs the equivalent of getenv()
>>to discover the value of $TZ?  And that bash's table of shell variables
>>is different from the list `environ' points to?
> 
> 
> Ok, now I understand the issue.  Thanks for explaining it to me.

I am considering manipulating the `environ' variable when bash's list
of exported variables changes.  That might be enough to make the libc
getenv() work.  I'm not sure what effect that might have on private
copies of environ, though.  It will have to be uncovered in testing.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to