diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2016-09-10 20:51:17 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2016-09-10 20:51:17 (GMT) |
commit | 130bbe5fd3d0bd0c494078aff19a5f8108707b89 (patch) | |
tree | 308a5ef9afaf7ce84a9598f88e34fb37948ecf4f | |
parent | 358cfd426ccc0fcd6a7940d306602138e76420ae (diff) | |
download | cpython-130bbe5fd3d0bd0c494078aff19a5f8108707b89.zip cpython-130bbe5fd3d0bd0c494078aff19a5f8108707b89.tar.gz cpython-130bbe5fd3d0bd0c494078aff19a5f8108707b89.tar.bz2 |
#28067: Fixed another typo.
-rw-r--r-- | Modules/_datetimemodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |