This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4350] Reentrancy problem between strftime() and setenv()
- From: "jakub at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 13 Apr 2007 17:50:42 -0000
- Subject: [Bug libc/4350] Reentrancy problem between strftime() and setenv()
- References: <20070412144239.4350.pasky@suse.cz>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jakub at redhat dot com 2007-04-13 18:50 -------
strftime is documented in POSIX that it acts as if it calls tzset().
And tzset is documented to inspect the TZ env variable.
setenv is documented to be non-thread safe, what glibc does there is beyond
what the standard requires. And this is IMHO the same thing.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4350
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.