EDT/EWT change

SCCS-file: localtime.c
SCCS-SID: 4.46
This commit is contained in:
Arthur David Olson
2012-07-18 03:01:53 -04:00
committed by Paul Eggert
parent fbfe58a200
commit 2b32cd2af9
+10
View File
@@ -208,6 +208,16 @@ settzname()
altzone = -(ttisp->tt_gmtoff);
#endif /* defined ALTZONE */
}
/*
** And to get the latest zone names into tzname. . .
*/
for (i = 0; i < sp->typecnt; ++i) {
register const struct ttinfo * const ttisp =
&sp->ttis[sp->types[i]];
tzname[ttisp->tt_isdst] =
(char *) &sp->chars[ttisp->tt_abbrind];
}
}
static int