This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/14023] localtime_r unexpectedly writes tzname[]


http://sourceware.org/bugzilla/show_bug.cgi?id=14023

--- Comment #2 from Paul Pluzhnikov <ppluzhnikov at google dot com> 2012-04-26 16:38:36 UTC ---
(In reply to comment #1)
> POSIX explicitly allows but does not require this behavior:

Yes, I've read that description before filing the bug.

I believe it's a quality-of-implementation issue: effectively one can't
use tzname at all in a glibc multi-threaded program, even if one calls only
"thread-safe" localtime_r.

This behaviour is very likely to surprise most developers.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]