acadia-newlib/newlib/libc/time
Corinna Vinschen b3a09ae34b Avoid excessive locking and calling tzset in time functions.
* libc/time/lcltime_r.c (localtime_r): Call _tzset_unlocked inside
	TZ lock.
	* libc/time/mktime.c (mktime):  Ditto.
	* libc/time/strftime.c (strftime, wcsftime): Ditto.  Guard against
	calling _tzset_unlocked more than once (baring recursion).

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-04-23 21:57:08 +02:00
..
Makefile.am 2014-09-11 Freddie Chopin <freddie_chopin@op.pl> 2014-09-11 21:55:01 +00:00
Makefile.in 2014-09-11 Freddie Chopin <freddie_chopin@op.pl> 2014-09-11 21:55:01 +00:00
asctime.c 2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-04-29 21:06:23 +00:00
asctime_r.c 2013-11-25 Sahil Patnayakuni <sahil.patnayakuni@gmail.com> 2013-11-25 13:46:23 +00:00
clock.c * libc/time/clock.c (clock): Fix warnings about signed-unsigned 2014-09-04 08:27:03 +00:00
ctime.c
ctime_r.c
difftime.c
gettzinfo.c
gmtime.c 2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-04-29 21:06:23 +00:00
gmtime_r.c * libc/time/gmtime_r.c (gmtime_r): Fixed bug in calculations for dates 2014-12-08 11:48:31 +00:00
lcltime.c 2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-04-29 21:06:23 +00:00
lcltime_r.c Avoid excessive locking and calling tzset in time functions. 2015-04-23 21:57:08 +02:00
local.h Add _tzset_unlocked and _tzset_unlocked_r 2015-04-23 21:57:08 +02:00
mktime.c Avoid excessive locking and calling tzset in time functions. 2015-04-23 21:57:08 +02:00
month_lengths.c 2014-09-15 Jeff Johnston <jjohnstn@redhat.com> 2014-09-15 16:05:37 +00:00
strftime.c Avoid excessive locking and calling tzset in time functions. 2015-04-23 21:57:08 +02:00
strptime.c * libc/time/clock.c (clock): Fix warnings about signed-unsigned 2014-09-04 08:27:03 +00:00
time.c
time.tex
tzcalc_limits.c 2014-09-12 Jeff Johnston <jjohnstn@redhat.com> 2014-09-12 21:41:46 +00:00
tzlock.c
tzset.c Add _tzset_unlocked and _tzset_unlocked_r 2015-04-23 21:57:08 +02:00
tzset_r.c Add _tzset_unlocked and _tzset_unlocked_r 2015-04-23 21:57:08 +02:00
tzvars.c
wcsftime.c