mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-12-08 21:34:54 +00:00
Algeria case
SCCS-file: zic.c SCCS-SID: 7.15
This commit is contained in:
committed by
Paul Eggert
parent
5e23596e17
commit
1e57de66d5
26
zic.c
26
zic.c
@ -1451,17 +1451,29 @@ const int zonecount;
|
||||
stdoff = rp->r_stdoff;
|
||||
startoff = oadd(zp->z_gmtoff,
|
||||
rp->r_stdoff);
|
||||
(void) sprintf(startbuf,
|
||||
zp->z_format,
|
||||
(void) sprintf(startbuf, zp->z_format,
|
||||
rp->r_abbrvar);
|
||||
startisdst =
|
||||
rp->r_stdoff != 0;
|
||||
startisdst = rp->r_stdoff != 0;
|
||||
continue;
|
||||
}
|
||||
if (ktime != starttime &&
|
||||
startisdst >= 0)
|
||||
addtt(starttime, addtype(startoff, startbuf, startisdst, startttisstd));
|
||||
usestart = FALSE;
|
||||
if (ktime != starttime) {
|
||||
if (startisdst < 0 &&
|
||||
zp->z_gmtoff !=
|
||||
(zp - 1)->z_gmtoff) {
|
||||
type = types[(timecnt == 0) ?
|
||||
0 : (timecnt - 1)];
|
||||
startoff = oadd(gmtoffs[type],
|
||||
-(zp - 1)->z_gmtoff);
|
||||
startisdst = startoff != 0;
|
||||
startoff = oadd(startoff,
|
||||
zp->z_gmtoff);
|
||||
(void) strcpy(startbuf,
|
||||
&chars[abbrinds[type]]);
|
||||
}
|
||||
if (startisdst >= 0)
|
||||
addtt(starttime, addtype(startoff, startbuf, startisdst, startttisstd));
|
||||
}
|
||||
}
|
||||
eats(zp->z_filename, zp->z_linenum,
|
||||
rp->r_filename, rp->r_linenum);
|
||||
|
||||
Reference in New Issue
Block a user