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


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

Ondrej Bilka <neleai at seznam dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |neleai at seznam dot cz

--- Comment #3 from Ondrej Bilka <neleai at seznam dot cz> ---
Here patch would be straigthforward, but would need some work. Paul could you
take care of it?

First could we add additional argument to __tzfile_compute to suppress writing
timezone? If not then we need rename it to __tzfile_compute_internal as
wrapper.

We would add extra argument local_only
Then we need add local variable like tzname_local, rename __tzname references
and write to __tzname when local_only is not set.

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