138 Commits (0fc2f098a496bc5c7379e2330421fcc86988c2ba)

Author SHA1 Message Date
Rich Felker c7f0da4134 adjust strftime + modifier to match apparent intent of POSIX 8 years ago
Rich Felker 596207aa38 fix strftime field widths with %F format and zero year 8 years ago
Jens Gustedt 32482f61da revise the definition of multiple basic locks in the code 8 years ago
Natanael Copa eb7f93c4f6 use the name UTC instead of GMT for UTC timezone 9 years ago
Timo Teräs 8a6bd7307d implement strftime padding specifier extensions 10 years ago
Rich Felker 67b2994789 fix mismatched type of __pthread_tsd_run_dtors weak definition 9 years ago
Rich Felker 64f855874c handle errors from localtime_r in ctime_r 9 years ago
Rich Felker 5c10c33d2a handle localtime errors in ctime 9 years ago
A. Wilcox 1080008809 getdate: correctly specify error number 9 years ago
Julien Ramseier b6e1fe0d5e fix strptime output for %C without %y 9 years ago
Julien Ramseier 834ef7aff5 fix processing of strptime %p format 9 years ago
Julien Ramseier 85dfab7eaf fix off-by-one in strptime %j 9 years ago
Rich Felker dbff2bb889 fix POSIX-format TZ dst transition times for southern hemisphere 9 years ago
Rich Felker 61fb81e395 fix strftime %y for negative years 10 years ago
Daniel Sabogal bc1e7731ce fix integer overflow of tm_year in __secs_to_tm 10 years ago
Hannu Nyman 8ca27ac4bf fix parsing of quoted time zone names 10 years ago
Rich Felker f33b175850 fix gratuitous undefined behavior in strptime 10 years ago
Daniel Sabogal 3ca2d2d4ae fix clock_nanosleep error case 10 years ago
Szabolcs Nagy 583ea83541 fix strftime %y for negative tm_year 10 years ago
Rich Felker 6399fa9d29 fix asctime day/month names not to vary by locale 10 years ago
Rich Felker a5ba2d7507 improve clock_gettime and adapt it to support slightly-broken vdso 10 years ago
Rich Felker 8d93cb5775 fix strftime handling of out-of-range struct tm fields 11 years ago
Rich Felker c82d3bada3 fix integer overflows in time_t/struct tm conversion code 11 years ago
Szabolcs Nagy bd275378d3 avoid reading uninitialized memory in __map_file 11 years ago
Natanael Copa c13f2af1fe match historical behavior for tm_gmtoff member of struct tm 11 years ago
Rich Felker 2a780aa305 treat empty TZ environment variable as GMT rather than default 11 years ago
Rich Felker 56fbaa3bbe make all objects used with atomic operations volatile 11 years ago
Rich Felker 08b996d180 fix handling of negative offsets in timezone spec strings 12 years ago
Rich Felker 6eb19505bc add C11 timespec_get function, with associated time.h changes for C11 12 years ago
Rich Felker 4c48501ee2 properly pass current locale to *_l functions when used internally 12 years ago
Rich Felker f616294914 use default timezone from /etc/localtime if $TZ is unset/blank 12 years ago
Timo Teräs 348fc5561c implement %y and %C specifiers in strptime 12 years ago
Rich Felker dd5f50da6f support linux kernel apis (new archs) with old syscalls removed 12 years ago
Rich Felker 594c827a22 support kernels with no SYS_open syscall, only SYS_openat 12 years ago
Rich Felker dec66750b8 fix unhandled cases in strptime 12 years ago
Szabolcs Nagy ac0acd569e fix strftime %s not to zero pad with default width=2 12 years ago
Rich Felker c3d9d172b1 perform minimal sanity checks on zoneinfo files loaded via TZ variable 12 years ago
Timo Teräs 0f2315b4af do not try to interpret implementation specific strings as tz definition 12 years ago
Rich Felker 5c4f11d995 allow zoneinfo-path-relative filenames with no slashes in TZ variable 12 years ago
Rich Felker 58e75db471 add working vdso clock_gettime support, including static linking 12 years ago
Rich Felker 805698401d fix fallback code for old kernels in clock_gettime 12 years ago
Rich Felker eca335fc04 eliminate explicit (long) casts when making syscalls 13 years ago
Rich Felker f89e298290 fix hangs in localtime for near-overflowing time_t values on 64-bit archs 13 years ago
Szabolcs Nagy 571744447c include cleanups: remove unused headers and add feature test macros 13 years ago
Rich Felker f63b8c8c45 fix off-by-one length failure in strftime/wcsftime and improve error behavior 13 years ago
Rich Felker 41a9ba25cd remove O_NOFOLLOW from __map_file used for time zone file loading 13 years ago
Rich Felker 1d0d2df609 fix handling of overly-long TZ environment variable values 13 years ago
rofl0r 8db1652581 timezone parser: fix iteration over search dir paths 13 years ago
rofl0r 75be448958 timezone parser: fix offset to transition table in 64bit code path 13 years ago
rofl0r e2ed37bc15 fix timezone parser code crashing on 64bit sys 13 years ago