Aug. 25, 2014
1:56 a.m.
Attached is another fixup for that patch, to fix a race that could cause two threads try to assign to tzname simultaneously. Only tzset-like functions (or functions documented to call tzset) should assign to tzname anyway. The commentary for this fixup can be: (localsub): Don't set tzname here; that's not thread-safe. This change can lose information on hosts without TM_ZONE, but there is no reliable way to fix that in a thread-safe way.