mktime result may depend on previous calls
Paul Eggert
eggert@cs.ucla.edu
Fri Jan 20 09:21:45 GMT 2023
On 2023-01-18 23:10, Max Nikulin via Libc-alpha wrote:
> Has it been fixed recently?
>
> https://www.gnu.org/software/libc/manual/html_node/Broken_002ddown-Time.html#index-mktime
Oops, looks like I was mistaken. I was thinking of the reference
implementation of mktime in TZDB, not glibc mktime. The latter should be
fixed to behave more like the former, and to use tm_gmtoff to
disambiguate in the rare dicey cases.
More information about the Libc-alpha
mailing list