the big time handling overhaul
authorRich Felker <dalias@aerifal.cx>
Wed, 17 Jul 2013 09:24:50 +0000 (05:24 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 17 Jul 2013 09:24:50 +0000 (05:24 -0400)
commit1cc81f5cb0df2b66a795ff0c26d7bbc4d16e13c6
treed8839fbfd8cb1fb5658394cad6a6a06688ab6a1b
parentf1292e3d28309bbc81f61671164843cec4319bfa
the big time handling overhaul

this commit has two major user-visible parts: zoneinfo-format time
zones are now supported, and overflow handling is intended to be
complete in the sense that all functions return a correct result if
and only if the result fits in the destination type, and otherwise
return an error. also, some noticable bugs in the way DST detection
and normalization worked have been fixed, and performance may be
better than before, but it has not been tested.
18 files changed:
src/time/__map_file.c [new file with mode: 0644]
src/time/__month_to_secs.c [new file with mode: 0644]
src/time/__secs_to_tm.c [new file with mode: 0644]
src/time/__time.h [deleted file]
src/time/__time_to_tm.c [deleted file]
src/time/__tm_to_secs.c [new file with mode: 0644]
src/time/__tm_to_time.c [deleted file]
src/time/__tz.c [new file with mode: 0644]
src/time/__year_to_secs.c [new file with mode: 0644]
src/time/gmtime.c
src/time/gmtime_r.c
src/time/localtime.c
src/time/localtime_r.c
src/time/mktime.c
src/time/strftime.c
src/time/time_impl.h [new file with mode: 0644]
src/time/timegm.c
src/time/tzset.c [deleted file]