summaryrefslogtreecommitdiff
path: root/src/time/localtime_r.c
AgeCommit message (Collapse)AuthorFilesLines
2013-07-17fix error code on time conversion overflowsRich Felker1-1/+1
POSIX mandates EOVERFLOW for this condition.
2013-07-17the big time handling overhaulRich Felker1-8/+12
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.
2012-09-06use restrict everywhere it's required by c99 and/or posix 2008Rich Felker1-1/+1
to deal with the fact that the public headers may be used with pre-c99 compilers, __restrict is used in place of restrict, and defined appropriately for any supported compiler. we also avoid the form [restrict] since older versions of gcc rejected it due to a bug in the original c99 standard, and instead use the form *restrict.
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+11