[tz] may be a small mistake in the localtime.c code
Z V
igt31415926 at gmail.com
Thu May 24 10:02:30 UTC 2012
Hello,
The next piece of code looks like a mistake:
localtime.c (1477-1484)
while (i > 0 &&
sp->lsis[i].ls_trans ==
*sp->lsis[i - 1].ls_trans + 1* &&
sp->lsis[i].ls_corr ==
sp->lsis[i - 1].ls_corr + 1) {
++hit;
--i;
}
As far as I understand here are processed 'Leap' rules with '++'
correction. If so, sp->lsis[i].ls_trans must be equal to sp->lsis[i -
1].ls_trans.
BR,
Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20120524/afb61a98/attachment.htm>
More information about the tz
mailing list