From b19a2c4b39e7af06a448ab335b1be2b9daf912e5 Mon Sep 17 00:00:00 2001 From: Arthur David Olson Date: Sat, 27 Jun 1987 15:12:14 -0400 Subject: [PATCH] nicer fix SCCS-file: zic.c SCCS-SID: 3.4 --- zic.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zic.c b/zic.c index 76aff20..e8bf982 100644 --- a/zic.c +++ b/zic.c @@ -695,7 +695,7 @@ static inrule(fields, nfields) register char ** fields; { - static struct rule r; + struct rule r; if (nfields != RULE_FIELDS) { error("wrong number of fields on Rule line"); @@ -765,7 +765,7 @@ inzsub(fields, nfields, iscont) register char ** fields; { register char * cp; - static struct zone z; + struct zone z; register int i_gmtoff, i_rule, i_format; register int i_untilyear, i_untilmonth; register int i_untilday, i_untiltime; @@ -869,7 +869,9 @@ char * timep; { register struct lookup * lp; register char * cp; + static struct rule initr; + *rp = initr; if ((lp = byword(monthp, mon_names)) == NULL) { error("invalid month name"); return;