mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
#28067: Fixed another typo.
This commit is contained in:
parent
358cfd426c
commit
130bbe5fd3
1 changed files with 1 additions and 1 deletions
|
@ -5067,7 +5067,7 @@ local_timezone_from_timestamp(time_t timestamp)
|
||||||
if (local_time == NULL) {
|
if (local_time == NULL) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (gmtime(×tamp, &utc_time_tm) == NULL) {
|
if (gmtime_r(×tamp, &utc_time_tm) == NULL) {
|
||||||
#ifdef EINVAL
|
#ifdef EINVAL
|
||||||
if (errno == 0)
|
if (errno == 0)
|
||||||
errno = EINVAL;
|
errno = EINVAL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue