mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
#28067: Fixed another typo.
This commit is contained in:
parent
358cfd426c
commit
130bbe5fd3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user