From: Alexander Belopolsky Date: Sat, 10 Sep 2016 20:51:17 +0000 (-0400) Subject: #28067: Fixed another typo. X-Git-Tag: v3.6.0b1~83 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=130bbe5fd3d0bd0c494078aff19a5f8108707b89;p=thirdparty%2FPython%2Fcpython.git #28067: Fixed another typo. --- diff --git a/Modules/_datetimemodule.c b/Modules/_datetimemodule.c index 892772ffabaf..381835ddd236 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;