newlib-cygwin/newlib/libc/time
Corinna Vinschen 70399a721c
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-03-31 11:22:50 +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 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
ctime_r.c
difftime.c 2003-01-21 Anita Kulkarni <anitak@kpit.com> 2003-01-21 19:37:04 +00:00
gettzinfo.c 2005-02-25 Eric Blake <ebb9@byu.net> 2005-02-25 22:31:21 +00:00
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-03-31 11:22:50 +02:00
local.h Add _tzset_unlocked and _tzset_unlocked_r 2015-03-31 11:14:22 +02:00
mktime.c Avoid excessive locking and calling tzset in time functions. 2015-03-31 11:22:50 +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-03-31 11:22:50 +02:00
strptime.c * libc/time/clock.c (clock): Fix warnings about signed-unsigned 2014-09-04 08:27:03 +00:00
time.c 2007-07-06 Jeff Johnston <jjohnstn@redhat.com> 2007-07-06 16:56:30 +00:00
time.tex * libc/time/strftime.c: Adapt for dual-purpose use so not only 2009-03-09 12:35:03 +00:00
tzcalc_limits.c 2014-09-12 Jeff Johnston <jjohnstn@redhat.com> 2014-09-12 21:41:46 +00:00
tzlock.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
tzset.c Add _tzset_unlocked and _tzset_unlocked_r 2015-03-31 11:14:22 +02:00
tzset_r.c Add _tzset_unlocked and _tzset_unlocked_r 2015-03-31 11:14:22 +02:00
tzvars.c 2005-11-08 Tom Walsh <tom@openhardware.net> 2005-11-08 22:44:16 +00:00
wcsftime.c * libc/time/time.tex (wcsftime.def): Include. 2009-03-12 15:34:57 +00:00