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

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugdal at aerifal dot cx

--- Comment #1 from Rich Felker <bugdal at aerifal dot cx> 2012-04-26 15:53:38 UTC ---
POSIX explicitly allows but does not require this behavior:

"Unlike localtime(), the localtime_r() function is not required to set tzname.
If localtime_r() does not set tzname, it shall not set daylight and shall not
set timezone."

Source:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/localtime.html

-- 
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]