1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-12-08 08:03:03 +00:00

uspres and nonpres moved to yearistype.sh

SCCS-file: zic.c
SCCS-SID: 7.26
This commit is contained in:
Arthur David Olson
1994-08-20 13:27:55 -04:00
committed by Paul Eggert
parent c0b3d961bd
commit 35a6e49404

4
zic.c
View File

@ -1631,10 +1631,6 @@ const char * const type;
if (type == NULL || *type == '\0')
return TRUE;
if (strcmp(type, "uspres") == 0)
return (year % 4) == 0;
if (strcmp(type, "nonpres") == 0)
return (year % 4) != 0;
buf = erealloc(buf, (int) (132 + strlen(yitcommand) + strlen(type)));
(void) sprintf(buf, "%s %d %s", yitcommand, year, type);
result = system(buf);