A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1125 ====================================================================== Reported By: Florian Weimer Assigned To: ====================================================================== Project: 1003.1(2016)/Issue7+TC2 Issue ID: 1125 Category: Base Definitions and Headers Type: Clarification Requested Severity: Editorial Priority: normal Status: New Name: Florian Weimer Organization: Red Hat User Reference: https://sourceware.org/bugzilla/show_bug.cgi?id=21229 Section: strftime, strftime_l Page Number: unknown Line Number: unknown Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2017-03-07 11:24 UTC Last Modified: 2017-03-07 16:02 UTC ====================================================================== Summary: Do strftime, strftime_l set tzname, daylight, timezone? ======================================================================
---------------------------------------------------------------------- (0003612) Florian Weimer (reporter) - 2017-03-07 16:02 http://austingroupbugs.net/view.php?id=1125#c3612 ---------------------------------------------------------------------- It looks like an implementation could keep updating these variables, but never the read from them, so there wouldn't be a thread safety hazard for multi-threaded programs. (Especially if all internal uses of strftime etc. used variants of these functions which skipped the update of these global variables.) Issue History Date Modified Username Field Change ====================================================================== 2017-03-07 11:24 Florian Weimer New Issue 2017-03-07 11:24 Florian Weimer Name => Florian Weimer 2017-03-07 11:24 Florian Weimer Organization => Red Hat 2017-03-07 11:24 Florian Weimer User Reference => https://sourceware.org/bugzilla/show_bug.cgi?id=21229 2017-03-07 11:24 Florian Weimer Section => strftime, strftime_l 2017-03-07 11:24 Florian Weimer Page Number => unknown 2017-03-07 11:24 Florian Weimer Line Number => unknown 2017-03-07 15:52 geoffclare Note Added: 0003611 2017-03-07 16:02 Florian Weimer Note Added: 0003612 ======================================================================