1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-06-02 19:00:08 +02:00

Merge branch 'backport-4617-tzset-glib-2-84' into 'glib-2-84'

Backport  “gdate: Call tzset before localtime_r” to glib-2-84

See merge request 
This commit is contained in:
Marco Trevisan 2025-05-06 13:33:37 +00:00
commit b3de15acf9

@ -1392,6 +1392,7 @@ _g_localtime (time_t timet, struct tm *out_tm)
gboolean success = TRUE;
#ifdef HAVE_LOCALTIME_R
tzset ();
if (!localtime_r (&timet, out_tm))
success = FALSE;
#else