138 Commits (0fc2f098a496bc5c7379e2330421fcc86988c2ba)

Author SHA1 Message Date
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
Rich Felker da49b872f5 fix incorrect clock tick scaling in fallback case of clock() 13 years ago
Rich Felker 9293b765c4 do not interpret errors in return value of times() syscall 13 years ago
Rich Felker cc11b42286 silence nonsensical warnings in timer_create 13 years ago
rofl0r a6752eb940 __time_to_tm: initialize tm_zone and tm_gmtoff 13 years ago
Rich Felker ccc7b4c3a1 remove __SYSCALL_SSLEN arch macro in favor of using public _NSIG 13 years ago
rofl0r c50925071c make some arrays const 13 years ago
Rich Felker d5c164d5ff fix tm_to_time logic for number of days in november 14 years ago
Rich Felker efd4d87aa4 clean up sloppy nested inclusion from pthread_impl.h 14 years ago
Rich Felker d712dd396d more close-on-exec fixes, mostly using new "e" flag to fopen 14 years ago
Rich Felker 400c5e5c83 use restrict everywhere it's required by c99 and/or posix 2008 14 years ago
Rich Felker 2f437040e7 fix (hopefully) all hard-coded 8's for kernel sigset_t size 14 years ago
Rich Felker 23be72ae45 add timegm function (inverse of gmtime), nonstandard 14 years ago
Rich Felker c37afdfdf3 linux deprecated SYS_utime on some archs, so use SYS_utimes instead 14 years ago
Rich Felker 4750cf4202 ditch the priority inheritance locks; use malloc's version of lock 14 years ago
Rich Felker 6cf51fe51a remove debug cruft that was left in getdate 14 years ago
Rich Felker b93b7382d6 first try at implementing getdate function 14 years ago
Rich Felker 536db2b5ac fix bugs in strptime handling of string day/month names, literals 14 years ago
Rich Felker 95b930ad26 implement wcsftime function 14 years ago
Rich Felker fd142e5ec4 cleanup various minor issues reported by nsz 15 years ago
Rich Felker 471c6067d9 fix assumptions that char is signed 15 years ago