mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-12-07 15:52:54 +00:00
back out change for moment
SCCS-file: localtime.c SCCS-SID: 7.73
This commit is contained in:
committed by
Paul Eggert
parent
b01c4c9903
commit
8fb6d2489f
@ -1383,9 +1383,7 @@ const int do_norm_secs;
|
||||
}
|
||||
if (increment_overflow(&yourtm.tm_year, -TM_YEAR_BASE))
|
||||
return WRONG;
|
||||
if (yourtm.tm_sec >= 0 && yourtm.tm_sec < SECSPERMIN)
|
||||
saved_seconds = 0;
|
||||
else if (yourtm.tm_year + TM_YEAR_BASE < EPOCH_YEAR) {
|
||||
if (yourtm.tm_year + TM_YEAR_BASE < EPOCH_YEAR) {
|
||||
/*
|
||||
** We can't set tm_sec to 0, because that might push the
|
||||
** time below the minimum representable time.
|
||||
|
||||
Reference in New Issue
Block a user