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
..
2013-11-25 13:46:23 +00:00
2013-04-29 21:06:23 +00:00
2014-09-04 08:27:03 +00:00
2000-02-17 19:39:52 +00:00
2008-10-31 21:08:03 +00:00
2003-01-21 19:37:04 +00:00
2005-02-25 22:31:21 +00:00
2014-12-08 11:48:31 +00:00
2013-04-29 21:06:23 +00:00
2015-03-31 11:22:50 +02:00
2013-04-29 21:06:23 +00:00
2015-03-31 11:14:22 +02:00
2014-09-11 21:55:01 +00:00
2014-09-11 21:55:01 +00:00
2015-03-31 11:22:50 +02:00
2014-09-15 16:05:37 +00:00
2015-03-31 11:22:50 +02:00
2014-09-04 08:27:03 +00:00
2007-07-06 16:56:30 +00:00
2009-03-09 12:35:03 +00:00
2014-09-12 21:41:46 +00:00
2005-10-28 21:21:08 +00:00
2015-03-31 11:14:22 +02:00
2015-03-31 11:14:22 +02:00
2005-11-08 22:44:16 +00:00
2009-03-12 15:34:57 +00:00