[Bug libc/11620] Bad design of timezone conversions

schwab@linux-m68k.org sourceware-bugzilla@sourceware.org
Fri Nov 9 00:46:00 GMT 2012


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

--- Comment #5 from Andreas Schwab <schwab@linux-m68k.org> 2012-11-09 00:46:36 UTC ---
> Yet, glibc does provide a reverse of it, timegm(),

Only because it was prior art as part of the Olsen implementation.

> I looked at the sources of glibc today and it looks like __tzfile_read() loads
> an entire Olson database into memory.

No, it doesn't.  It loads a single time zone file.

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



More information about the Glibc-bugs mailing list