[Python-checkins] cpython: #28067: Fixed another typo.
alexander.belopolsky
python-checkins at python.org
Sat Sep 10 16:51:19 EDT 2016
https://hg.python.org/cpython/rev/c7e477fa9e09
changeset: 103588:c7e477fa9e09
user: Alexander Belopolsky <alexander.belopolsky at gmail.com>
date: Sat Sep 10 16:51:17 2016 -0400
summary:
#28067: Fixed another typo.
files:
Modules/_datetimemodule.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/_datetimemodule.c b/Modules/_datetimemodule.c
--- a/Modules/_datetimemodule.c
+++ b/Modules/_datetimemodule.c
@@ -5067,7 +5067,7 @@
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;
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list