From 130bbe5fd3d0bd0c494078aff19a5f8108707b89 Mon Sep 17 00:00:00 2001 From: Alexander Belopolsky Date: Sat, 10 Sep 2016 16:51:17 -0400 Subject: #28067: Fixed another typo. --- Modules/_datetimemodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_datetimemodule.c b/Modules/_datetimemodule.c index 892772f..381835d 100644 --- a/Modules/_datetimemodule.c +++ b/Modules/_datetimemodule.c @@ -5067,7 +5067,7 @@ local_timezone_from_timestamp(time_t timestamp) if (local_time == NULL) { return NULL; } - if (gmtime(×tamp, &utc_time_tm) == NULL) { + if (gmtime_r(×tamp, &utc_time_tm) == NULL) { #ifdef EINVAL if (errno == 0) errno = EINVAL; -- cgit v0.12