It may be useful to have zic warn when producing a binary with more than 1200 transition times; one possibility is attached (and appears below with tabs mangled). To make room for the new code, a warning about pre-1998 versions of zic has been removed.-) @dashdashado *** tz2014braw/zic.c 2014-03-20 23:21:43.000000000 -0400 --- tz2014bcooked/zic.c 2014-03-25 10:19:28.470390300 -0400 *************** *** 962,969 **** error(_("time overflow")); return 0; } - if (noise && hh == HOURSPERDAY && mm == 0 && ss == 0) - warning(_("24:00 not handled by pre-1998 versions of zic")); if (noise && (hh > HOURSPERDAY || (hh == HOURSPERDAY && (mm != 0 || ss != 0)))) warning(_("values over 24 hours not handled by pre-2007 versions of zic")); --- 962,967 ---- *************** *** 1503,1508 **** --- 1501,1508 ---- } timecnt = toi; } + if (noise && timecnt > 1200) + warning(_("pre-2014 clients may mishandle more than 1200 transition times")); /* ** Transfer. */
Arthur David Olson wrote:
It may be useful to have zic warn when producing a binary with more than 1200 transition times; one possibility is attached (and appears below with tabs mangled).
Thanks, I unmangled the indentation and pushed it into the experimental repository as commit af89d6b3626219bcbd46a1d94ba9b2b76fd59cfb.
participants (2)
-
Arthur David Olson -
Paul Eggert