From e3e4e463cf18e47448e92f6cb2c126b9828cd2ca Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 1 Oct 1998 10:11:51 +0000 Subject: Update. 1998-10-01 Ulrich Drepper * timezone/zic.c: Update from tzcode1998h. * timezone/europe: Update from tzdata1998i. * timezone/southamerica: Likewise. --- timezone/zic.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'timezone/zic.c') diff --git a/timezone/zic.c b/timezone/zic.c index 2397a78..b6b43c7 100644 --- a/timezone/zic.c +++ b/timezone/zic.c @@ -1,6 +1,6 @@ #ifndef lint #ifndef NOID -static char elsieid[] = "@(#)zic.c 7.94"; +static char elsieid[] = "@(#)zic.c 7.95"; #endif /* !defined NOID */ #endif /* !defined lint */ @@ -901,9 +901,10 @@ const int signable; error(errstring); return 0; } - if (hh < 0 || hh >= HOURSPERDAY || + if ((hh < 0 || hh >= HOURSPERDAY || mm < 0 || mm >= MINSPERHOUR || - ss < 0 || ss > SECSPERMIN) { + ss < 0 || ss > SECSPERMIN) && + !(hh == HOURSPERDAY && mm == 0 && ss == 0)) { error(errstring); return 0; } -- cgit v1.1