108 Commits (9d15d5e7533738f3e80f1aeecb4e30f8c9db1670)

Author SHA1 Message Date
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
Rich Felker 4b15d9f46a add legacy ftime function and sys/timeb.h 13 years ago
Rich Felker 242a4bb440 add the %s (seconds since the epoch) format to strftime 13 years ago
Rich Felker 2828a130b1 fix strftime regression in %e format 13 years ago
Rich Felker 190bbb9923 properly fill in tzname[] for old (pre-64-bit-format) zoneinfo files 13 years ago
Rich Felker 32985d4f63 minor fix to tz name checking 13 years ago
Rich Felker d78be392e1 fix strftime handling of time zone data 13 years ago
Rich Felker bd5ed22c58 fix mishandling of empty or blank TZ environment variable 13 years ago
Rich Felker 8b491f1499 fix missing string.h in strftime.c (needed by new strftime code) 13 years ago
Rich Felker fc48ceee77 add strftime and wcsftime field widths 13 years ago
Rich Felker 33413cdd25 simplify strftime and fix integer overflows 13 years ago
Rich Felker 87e133b352 strftime cleanup: avoid recomputing strlen when it's known 13 years ago
Rich Felker 45849d3dcb more strftime refactoring 13 years ago
Rich Felker f5e4efc4bd begin refactoring strftime to make adding field widths easier 13 years ago
Rich Felker a7f18a5529 have new timer threads unblock their own SIGTIMER 13 years ago
Rich Felker 7c6c290695 add system for resetting TLS to initial values 13 years ago
Rich Felker 7356c2554e fix multiple bugs in SIGEV_THREAD timers 13 years ago
Rich Felker 0c7294ef30 add wcsftime_t alias 13 years ago
Rich Felker 1ae4bc4280 fix semantically incorrect use of LC_GLOBAL_LOCALE 13 years ago
Rich Felker d53b1f820c reorder strftime to eliminate the incorrect indention level 13 years ago
Rich Felker 87be54a135 rework langinfo code for ABI compat and for use by time code 13 years ago
Rich Felker cccf64e281 add __wcsftime_l symbol 13 years ago
Rich Felker 0a37d99547 move strftime_l into strftime.c and add __-prefixed version 13 years ago
Rich Felker ea81c0624f fix error code on time conversion overflows 13 years ago
Rich Felker ac1bf93fc6 fix fd leak in file mapping code used in new zoneinfo support 13 years ago
Rich Felker 1cc81f5cb0 the big time handling overhaul 13 years ago
Rich Felker aea7919032 implement week-based-year year numbers in strftime 13 years ago
Rich Felker 062446a85d fix breakage in last commit to strftime due to missing INT_MAX 13 years ago
Rich Felker c5faf1bf09 implement week numbers and half of the week-based-year logic for strftime 13 years ago
Rich Felker ea200e38bd support cputime clocks for processes/threads other than self 13 years ago
Rich Felker 05453b37fc fix overflow behavior of clock() function 13 years ago