1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00
1998-10-01  Ulrich Drepper  <drepper@cygnus.com>

	* timezone/zic.c: Update from tzcode1998h.
	* timezone/europe: Update from tzdata1998i.
	* timezone/southamerica: Likewise.
This commit is contained in:
Ulrich Drepper
1998-10-01 10:11:51 +00:00
parent 36ab45e15f
commit e3e4e463cf
4 changed files with 105 additions and 33 deletions

View File

@ -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;
}