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:
committed by
Paul Eggert
parent
c0b3d961bd
commit
35a6e49404
4
zic.c
4
zic.c
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user