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
..
2014-06-23 20:21:54 +00:00
2014-06-23 20:21:54 +00:00
2012-12-20 21:10:27 +00:00
2013-11-26 14:38:58 +00:00
2015-04-23 21:57:07 +02:00
2014-06-23 20:21:54 +00:00
2015-03-03 19:49:00 +00:00
2012-12-20 21:10:27 +00:00
2013-11-26 13:51:19 +00:00
2013-06-24 11:34:03 +00:00
2014-12-05 16:21:04 +00:00
2012-12-20 21:10:27 +00:00
2014-12-18 14:55:21 +00:00
2013-10-23 10:04:43 +00:00
2015-04-23 21:57:08 +02:00
2015-04-23 21:57:07 +02:00
2015-03-12 16:03:42 +01:00
2012-12-20 21:10:27 +00:00
2015-04-23 21:57:08 +02:00
2014-10-16 15:00:59 +00:00
2012-12-20 21:10:27 +00:00
2012-12-20 21:10:27 +00:00
2014-12-18 20:30:11 +00:00
2014-07-04 17:21:45 +00:00
2015-03-16 15:02:22 +00:00
2011-01-05 17:18:16 +00:00
2012-12-20 21:10:27 +00:00
2005-10-28 21:36:05 +00:00