The NetBSD Project

CVS log for src/lib/libc/time/zic.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / time

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.89 / (download) - annotate - [select for diffs], Tue Jan 17 13:18:03 2023 UTC (2 months ago) by christos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.88: +4 -4 lines
Diff to previous 1.88 (colored)

put attributes first for c23 compliance.

Revision 1.88 / (download) - annotate - [select for diffs], Sun Jan 15 18:12:37 2023 UTC (2 months ago) by christos
Branch: MAIN
Changes since 1.87: +17 -17 lines
Diff to previous 1.87 (colored)

Apply 9cfe9507fcc22cd4a0c4da486ea1c7f0de6b075f for C23 attribute compliance.
Requested by Jan-Benedict Glaw.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Dec 13 19:08:42 2022 UTC (3 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10
Changes since 1.86: +11 -10 lines
Diff to previous 1.86 (colored)

Handle the case the code originally intended to handle; systems where:
SIZE_MAX < PTRDIFF_MAX

Revision 1.86 / (download) - annotate - [select for diffs], Sun Dec 11 17:57:23 2022 UTC (3 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.85: +179 -125 lines
Diff to previous 1.85 (colored)

Merge in 2022g:

    Although tzcode still works with C89, bugs found in recent routine
    maintenance indicate that bitrot has set in and that in practice
    C89 is no longer used to build tzcode.  As it is a maintenance
    burden, support for C89 is planned to be removed soon.  Instead,
    please use compilers compatible with C99, C11, C17, or C23.

    timegm, which tzcode implemented in 1989, will finally be
    standardized 34 years later as part of C23, so timegm is now
    supported even if STD_INSPIRED is not defined.

    Fix bug in zdump's tzalloc emulation on hosts that lack tm_zone.
    (Problem reported by oàn Trầ Công Danh.)

    Fix bug in zic on hosts where malloc(0) yields NULL on success.
    (Problem reported by Tim McBrayer for AIX 6.1.)

    Fix zic configuration to avoid linkage failures on some platforms.
    (Problems reported by Gilmore Davidson and Igor Ivanov.)

    Work around MS-Windows nmake incompatibility with POSIX.
    (Problem reported by Manuela Friedrich.)

    Port mktime and strftime to debugging platforms where accessing
    uninitialized data has undefined behavior (strftime problem
    reported by Robert Elz).

    Check more carefully for unlikely integer overflows, preferring
    C23 <stdckdint.h> to overflow checking by hand, as the latter has
    had obscure bugs.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Nov 2 12:49:10 2022 UTC (4 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.84: +6 -3 lines
Diff to previous 1.84 (colored)

Cleaner to use if/then/else rather than a ton of casts in the ternary operator.

Revision 1.84 / (download) - annotate - [select for diffs], Sat Oct 29 13:55:50 2022 UTC (4 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.83: +319 -128 lines
Diff to previous 1.83 (colored)

Update to tzcode2022f

  Changes to code

    zic now supports links to links regardless of input line order.
    For example, if Australia/Sydney is a Zone, the lines
      Link Australia/Canberra Australia/ACT
      Link Australia/Sydney Australia/Canberra
    now work correctly, even though the shell commands
      ln Australia/Canberra Australia/ACT
      ln Australia/Sydney Australia/Canberra
    would fail because the first command attempts to use a link
    Australia/Canberra that does not exist until after the second
    command is executed.  Previously, zic had unspecified behavior if
    a Link line's target was another link, and zic often misbehaved if
    a Link line's target was a later Link line.

    Fix line number in zic's diagnostic for a link to a link.

    Fix a bug that caused localtime to mishandle timestamps starting
    in the year 2438 when reading data generated by 'zic -b fat' when
    distant-future DST transitions occur at times given in standard
    time or in UT, not the usual case of local time.  This occurs when
    the corresponding .zi Rule lines specify DST transitions with TO
    columns of 'max' and AT columns that end in 's' or 'u'.  The
    number 2438 comes from the 32-bit limit in the year 2038, plus the
    400-year Gregorian cycle.  (Problem reported by Bradley White.)

    On glibc 2.34 and later, which optionally supports 64-bit time_t
    on platforms like x86 where time_t was traditionally 32 bits,
    default time_t to 64 instead of 32 bits.  This lets functions like
    localtime support timestamps after the year 2038, and fixes
    year-2038 problems in zic when accessing files dated after 2038.
    To continue to limit time_t to 32 bits on these platforms, use
    "make CFLAGS='-D_TIME_BITS=32'".

    In C code, do not enable large-file support on platforms like AIX
    and macOS that no longer need it now that tzcode does not use
    off_t or related functions like 'stat'.  Large-file support is
    still enabled by default on GNU/Linux, as it is needed for 64-bit
    time_t support.

    In C code, prefer C23 keywords to pre-C23 macros for alignof,
    bool, false, and true.  Also, use the following C23 features if
    available: __has_include, unreachable.

    zic no longer works around Qt bug 53071, as the relevant Qt
    releases have been out of support since 2019.  This change affects
    only fat TZif files, as thin files never had the workaround.

    zdump no longer modifies the environ vector when compiled on
    platforms lacking tm_zone or when compiled with -DUSE_LTZ=0.
    This avoid undefined behavior on POSIX platforms.

Revision 1.83 / (download) - annotate - [select for diffs], Tue Aug 16 11:07:40 2022 UTC (7 months ago) by christos
Branch: MAIN
Changes since 1.82: +9 -4 lines
Diff to previous 1.82 (colored)

Welcome to tzcode-2022c

Work around a bug in onetrueawk that broke commands like
'make traditional_tarballs' on FreeBSD, macOS, etc.
(Problem reported by Deborah Goldsmith.)

Add code to tzselect that uses experimental structured comments in
zone1970.tab to clarify whether Zones like Africa/Abidjan and
Europe/Istanbul cross continent or ocean boundaries.
(Inspired by a problem reported by Peter Krefting.)

Fix bug with 'zic -d /a/b/c' when /a is unwritable but the
directory /a/b already exists.

Remove zoneinfo2tdf.pl, as it was unused and triggered false
malware alarms on some email servers.

Revision 1.82 / (download) - annotate - [select for diffs], Tue Aug 16 10:56:21 2022 UTC (7 months ago) by christos
Branch: MAIN
Changes since 1.81: +294 -190 lines
Diff to previous 1.81 (colored)

Welcome to 2022b:

zic has a new option '-R @N' to output explicit transitions < N.
(Need suggested by Almaz Mingaleev.)

'zic -r @N' no longer outputs bad data when N < first transition.
(Problem introduced in 2021d and reported by Peter Krefting.)

zic now checks its input for NUL bytes and unterminated lines, and
now supports input line lengths up to 2048 (not 512) bytes.

gmtime and related code now use the abbreviation "UTC" not "GMT".
POSIX is being revised to require this.

When tzset and related functions set vestigial static variables
like tzname, they now prefer specified timestamps to unspecified ones.
(Problem reported by Almaz Mingaleev.)

zic no longer complains "can't determine time zone abbreviation to
use just after until time" when a transition to a new standard
time occurs simultanously with the first DST fallback transition.

Revision 1.81 / (download) - annotate - [select for diffs], Tue Mar 22 17:48:39 2022 UTC (11 months, 4 weeks ago) by christos
Branch: MAIN
Changes since 1.80: +10 -7 lines
Diff to previous 1.80 (colored)

welcome to tzcode-2022a

  Changes to code

    Fix bug when mktime gets confused by truncated TZif files with
    unspecified local time.  (Problem reported by Almaz Mingaleev.)

    Fix bug when 32-bit time_t code reads malformed 64-bit TZif data.
    (Problem reported by Christos Zoulas.)

    When reading a version 2 or later TZif file, the TZif reader now
    validates the version 1 header and data block only enough to skip
    over them, as recommended by RFC 8536 section 4.  Also, the TZif
    reader no longer mistakenly attempts to parse a version 1 TZIf
    file header as a TZ string.

    zdump -v now outputs "(localtime failed)" and "(gmtime failed)"
    when local time and UT cannot be determined for a timestamp.

Revision 1.80 / (download) - annotate - [select for diffs], Sat Jan 1 21:01:21 2022 UTC (14 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.79: +3 -2 lines
Diff to previous 1.79 (colored)

zero out the tzh structure to fix reproducibile builds.

Revision 1.79 / (download) - annotate - [select for diffs], Fri Oct 22 14:26:04 2021 UTC (16 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.78: +507 -359 lines
Diff to previous 1.78 (colored)

Change to code and documentation from 2021a -> 2021e

Release 2021e - 2021-10-21 18:41:00 -0700

  Changes to code

    none


Release 2021d - 2021-10-15 13:48:18 -0700

  Changes to code

    'zic -r' now uses "-00" time zone abbreviations for intervals
    with UT offsets that are unspecified due to -r truncation.
    This implements a change in draft Internet RFC 8536bis.


Release 2021c - 2021-10-01 14:21:49 -0700

  Changes to code

    Fix a bug in 'zic -b fat' that caused old timestamps to be
    mishandled in 32-bit-only readers (problem reported by Daniel
    Fischer).

  Changes to documentation

    Distribute the SECURITY file (problem reported by Andreas Radke).


Release 2021b - 2021-09-24 16:23:00 -0700

  Changes to maintenance procedure

    The new file SECURITY covers how to report security-related bugs.

    Several backward-compatibility links have been moved to the
    'backward' file.  These links, which range from Africa/Addis_Ababa
    to Pacific/Saipan, are only for compatibility with now-obsolete
    guidelines suggesting an entry for every ISO 3166 code.
    The intercontinental convenience links Asia/Istanbul and
    Europe/Nicosia have also been moved to 'backward'.

  Changes to code

    zic now creates each output file or link atomically,
    possibly by creating a temporary file and then renaming it.
    This avoids races where a TZ setting would temporarily stop
    working while zic was installing a replacement file or link.

    zic -L no longer omits the POSIX TZ string in its output.
    Starting with 2020a, zic -L truncated its output according to the
    "Expires" directive or "#expires" comment in the leapseconds file.
    The resulting TZif files omitted daylight saving transitions after
    the leap second table expired, which led to far less-accurate
    predictions of times after the expiry.  Although future timestamps
    cannot be converted accurately in the presence of leap seconds, it
    is more accurate to convert near-future timestamps with a few
    seconds error than with an hour error, so zic -L no longer
    truncates output in this way.

    Instead, when zic -L is given the "Expires" directive, it now
    outputs the expiration by appending a no-change entry to the leap
    second table.  Although this should work well with most TZif
    readers, it does not conform to Internet RFC 8536 and some pickier
    clients (including tzdb 2017c through 2021a) reject it, so
    "Expires" directives are currently disabled by default.  To enable
    them, set the EXPIRES_LINE Makefile variable.  If a TZif file uses
    this new feature it is marked with a new TZif version number 4,
    a format intended to be documented in a successor to RFC 8536.

    zic -L LEAPFILE -r @LO no longer generates an invalid TZif file
    that omits leap second information for the range LO..B when LO
    falls between two leap seconds A and B.  Instead, it generates a
    TZif version 4 file that represents the previously-missing
    information.

    The TZif reader now allows the leap second table to begin with a
    correction other than -1 or +1, and to contain adjacent
    transitions with equal corrections.  This supports TZif version 4.

    The TZif reader now lets leap seconds occur less than 28 days
    apart.  This supports possible future TZif extensions.

    Fix bug that caused 'localtime' etc. to crash when TZ was
    set to a all-year DST string like "EST5EDT4,0/0,J365/25" that does
    not conform to POSIX but does conform to Internet RFC 8536.

    Fix another bug that caused 'localtime' etc. to crash when TZ was
    set to a POSIX-conforming but unusual TZ string like
    "EST5EDT4,0/0,J365/0", where almost all the year is DST.

    Fix yet another bug that caused 'localtime' etc. to mishandle slim
    TZif files containing leap seconds after the last explicit
    transition in the table, or when handling far-future timestamps
    in slim TZif files lacking leap seconds.

    Fix localtime misbehavior involving positive leap seconds.
    This change affects only behavior for "right" system time,
    which contains leap seconds, and only if the UT offset is
    not a multiple of 60 seconds when a positive leap second occurs.
    (No such timezone exists in tzdb, luckily.)  Without the fix,
    the timestamp was ambiguous during a positive leap second.
    With the fix, any seconds occurring after a positive leap second
    and within the same localtime minute are counted through 60, not
    through 59; their UT offset (tm_gmtoff) is the same as before.
    Here is how the fix affects timestamps in a timezone with UT
    offset +01:23:45 (5025 seconds) and with a positive leap second at
    1972-06-30 23:59:60 UTC (78796800):

	time_t    without the fix      with the fix
	78796800  1972-07-01 01:23:45  1972-07-01 01:23:45 (leap second)
	78796801  1972-07-01 01:23:45  1972-07-01 01:23:46
	...
	78796815  1972-07-01 01:23:59  1972-07-01 01:23:60
	78796816  1972-07-01 01:24:00  1972-07-01 01:24:00

    Fix an unlikely bug that caused 'localtime' etc. to misbehave if
    civil time changes a few seconds before time_t wraps around, when
    leap seconds are enabled.

    Fix bug in zic -r; in some cases, the dummy time type after the
    last time transition disagreed with the TZ string, contrary to
    Internet RFC 8563 section 3.3.

    Fix a bug with 'zic -r @X' when X is a negative leap second that
    has a nonnegative correction.  Without the fix, the output file
    was truncated so that X appeared to be a positive leap second.
    Fix a similar, even-less-likely bug when truncating at a positive
    leap second that has a nonpositive correction.

    zic -r now reports an error if given rolling leap seconds, as this
    usage has never generally worked and is evidently unused.

    zic now generates a POSIX-conforming TZ string for TZif files
    where all-year DST is predicted for the indefinite future.
    For example, for all-year Eastern Daylight Time, zic now generates
    "XXX3EDT4,0/0,J365/23" where it previously generated
    "EST5EDT,0/0,J365/25" or "".  (Thanks to Michael Deckers for
    noting the possibility of POSIX conformance.)

    zic.c no longer requires sys/wait.h (thanks to spazmodius for
    noting it wasn't needed).

    When reading slim TZif files, zdump no longer mishandles leap
    seconds on the rare platforms where time_t counts leap seconds,
    fixing a bug introduced in 2014g.

    zdump -v now outputs timestamps at boundaries of what localtime
    and gmtime can represent, instead of the less-useful timestamps
    one day after the minimum and one day before the maximum.
    (Thanks to Arthur David Olson for prototype code, and to Manuela
    Friedrich for debugging help.)

    zdump's -c and -t options are now consistently inclusive for the
    lower time bound and exclusive for the upper.  Formerly they were
    inconsistent.  (Confusion noted by Martin Burnicki.)

  Changes to build procedure

    You can now compile with -DHAVE_MALLOC_ERRNO=0 to port to
    non-POSIX hosts where malloc doesn't set errno.
    (Problem reported by Jan Engelhardt.)

  Changes to documentation

    tzfile.5 better matches a draft successor to RFC 8536
    <https://datatracker.ietf.org/doc/draft-murchison-rfc8536bis/01/>.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Mar 1 04:42:14 2021 UTC (2 years ago) by christos
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.77: +13 -5 lines
Diff to previous 1.77 (colored)

Merge tzcode-2021a
- No comments in the changelog about the code changes.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Oct 9 18:38:48 2020 UTC (2 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.76: +67 -131 lines
Diff to previous 1.76 (colored)

Merge tzcode2020b (except we keep tzsetwall(3) for now for compatibility,
and we were "slim" already)

Support for zic's long-obsolete '-y YEARISTYPE' option has been
removed and, with it, so has support for the TYPE field in Rule
lines, which is now reserved for compatibility with earlier zic.
These features were previously deprecated in release 2015f.
(Thanks to Tim Parenti.)

zic now defaults to '-b slim' instead of to '-b fat'.

zic's new '-l -' and '-p -' options uninstall any existing
localtime and posixrules files, respectively.

The undocumented and ineffective tzsetwall function has been
removed.

Revision 1.76 / (download) - annotate - [select for diffs], Mon May 25 14:52:48 2020 UTC (2 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.75: +100 -60 lines
Diff to previous 1.75 (colored)

Bring in 2020a

Revision 1.71.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:11 2020 UTC (2 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.71.2.1: +235 -191 lines
Diff to previous 1.71.2.1 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.75 / (download) - annotate - [select for diffs], Wed Jul 3 15:50:16 2019 UTC (3 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Changes since 1.74: +235 -191 lines
Diff to previous 1.74 (colored)

Sync with 2019b:

    zic's new -b option supports a way to control data bloat and to
    test for year-2038 bugs in software that reads TZif files.
    'zic -b fat' and 'zic -b slim' generate larger and smaller output;
    for example, changing from fat to slim shrinks the Europe/London
    file from 3648 to 1599 bytes, saving about 56%.  Fat and slim
    files represent the same set of timestamps and use the same TZif
    format as documented in tzfile(5) and in Internet RFC 8536.
    Fat format attempts to work around bugs or incompatibilities in
    older software, notably software that mishandles 64-bit TZif data
    or uses obsolete TZ strings like "EET-2EEST" that lack DST rules.
    Slim format is more efficient and does not work around 64-bit bugs
    or obsolete TZ strings.  Currently zic defaults to fat format
    unless you compile with -DZIC_BLOAT_DEFAULT=\"slim\"; this
    out-of-the-box default is intended to change in future releases
    as the buggy software often mishandles timestamps anyway.

    zic no longer treats a set of rules ending in 2037 specially.
    Previously, zic assumed that such a ruleset meant that future
    timestamps could not be predicted, and therefore omitted a
    POSIX-like TZ string in the TZif output.  The old behavior is no
    longer needed for current tzdata, and caused problems with newlib
    when used with older tzdata (reported by David Gauchard).

    zic no longer generates some artifact transitions.  For example,
    Europe/London no longer has a no-op transition in January 1996.

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:22 2019 UTC (3 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.71: +326 -213 lines
Diff to previous 1.71 (colored)

Sync with HEAD

Revision 1.74 / (download) - annotate - [select for diffs], Thu Apr 4 18:18:31 2019 UTC (3 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.73: +289 -195 lines
Diff to previous 1.73 (colored)

merge 2019a

  Changes to code

    zic now has an -r option to limit the time range of output data.
    For example, 'zic -r @1000000000' limits the output data to
    timestamps starting 1000000000 seconds after the Epoch.
    This helps shrink output size and can be useful for applications
    not needing the full timestamp history, such as TZDIST truncation;
    see Internet RFC 8536 section 5.1.  (Inspired by a feature request
    from Christopher Wong, helped along by bug reports from Wong and
    from Tim Parenti.)

  Changes to documentation

    Mention Internet RFC 8536 (February 2019), which documents TZif.

    tz-link.html now cites tzdata-meta
    <https://tzdata-meta.timtimeonline.com/>.

Revision 1.70.2.3 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:10 2019 UTC (4 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.70.2.2: +6 -6 lines
Diff to previous 1.70.2.2 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

Synch with HEAD

Revision 1.73 / (download) - annotate - [select for diffs], Tue Jan 1 03:04:56 2019 UTC (4 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118
Changes since 1.72: +6 -6 lines
Diff to previous 1.72 (colored)

Release 2018i - 2018-12-30 11:05:43 -0800

  Briefly:
    São Tomé and Príncipe switches from +01 to +00 on 2019-01-01.

  Changes to future timestamps

    Due to a change in government, São Tomé and Príncipe switches back
    from +01 to +00 on 2019-01-01 at 02:00.  (Thanks to Vadim
    Nasardinov and Michael Deckers.)


Release 2018h - 2018-12-23 17:59:32 -0800

  Briefly:
    Qyzylorda, Kazakhstan moved from +06 to +05 on 2018-12-21.
    New zone Asia/Qostanay because Qostanay, Kazakhstan didn't move.
    Metlakatla, Alaska observes PST this winter only.
    Guess Morocco will continue to adjust clocks around Ramadan.
    Add predictions for Iran from 2038 through 2090.

  Changes to future timestamps

    Guess that Morocco will continue to fall back just before and
    spring forward just after Ramadan, the practice since 2012.
    (Thanks to Maamar Abdelkader.)  This means Morocco will observe
    negative DST during Ramadan in main and vanguard formats, and in
    rearguard format it stays in the +00 timezone and observes
    ordinary DST in all months other than Ramadan.  As before, extend
    this guesswork to the year 2037.  As a consequence, Morocco is
    scheduled to observe three DST transitions in some Gregorian years
    (e.g., 2033) due to the mismatch between the Gregorian and Islamic
    calendars.

    The table of exact transitions for Iranian DST has been extended.
    It formerly cut off before the year 2038 in a nod to 32-bit time_t.
    It now cuts off before 2091 as there is doubt about how the Persian
    calendar will treat 2091.  This change predicts DST transitions in
    2038-9, 2042-3, and 2046-7 to occur one day later than previously
    predicted.  As before, post-cutoff transitions are approximated.

  Changes to past and future timestamps

    Qyzylorda (aka Kyzylorda) oblast in Kazakhstan moved from +06 to
    +05 on 2018-12-21.  This is a zone split as Qostanay (aka
    Kostanay) did not switch, so create a zone Asia/Qostanay.

    Metlakatla moved from Alaska to Pacific standard time on 2018-11-04.
    It did not change clocks that day and remains on -08 this winter.
    (Thanks to Ryan Stanley.)  It will revert to the usual Alaska
    rules next spring, so this change affects only timestamps
    from 2018-11-04 through 2019-03-10.

  Change to past timestamps

    Kwajalein's 1993-08-20 transition from -12 to +12 was at 24:00,
    not 00:00.  I transcribed the time incorrectly from Shanks.
    (Thanks to Phake Nick.)

    Nauru's 1979 transition was on 02-10 at 02:00, not 05-01 at 00:00.
    (Thanks to Phake Nick.)

    Guam observed DST irregularly from 1959 through 1977.
    (Thanks to Phake Nick.)

    Hong Kong observed DST in 1941 starting 06-15 (not 04-01), then on
    10-01 changed standard time to +08:30 (not +08).  Its transition
    back to +08 after WWII was on 1945-09-15, not the previous day.
    Its 1904-10-30 change took effect at 01:00 +08 (not 00:00 LMT).
    (Thanks to Phake Nick, Steve Allen, and Joseph Myers.)  Also,
    its 1952 fallback was on 11-02 (not 10-25).

    This release contains many changes to timestamps before 1946 due
    to Japanese possession or occupation of Pacific/Chuuk,
    Pacific/Guam, Pacific/Kosrae, Pacific/Kwajalein, Pacific/Majuro,
    Pacific/Nauru, Pacific/Palau, and Pacific/Pohnpei.
    (Thanks to Phake Nick.)

    Assume that the Spanish East Indies was like the Philippines and
    observed American time until the end of 1844.  This affects
    Pacific/Chuuk, Pacific/Kosrae, Pacific/Palau, and Pacific/Pohnpei.

  Changes to past tm_isdst flags

    For the recent Morocco change, the tm_isdst flag should be 1 from
    2018-10-27 00:00 to 2018-10-28 03:00.  (Thanks to Michael Deckers.)
    Give a URL to the official decree.  (Thanks to Matt Johnson.)

Revision 1.70.2.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:12 2018 UTC (4 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.70.2.1: +51 -32 lines
Diff to previous 1.70.2.1 (colored) to branchpoint 1.70 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.72 / (download) - annotate - [select for diffs], Sat Oct 27 22:29:24 2018 UTC (4 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126
Changes since 1.71: +51 -32 lines
Diff to previous 1.71 (colored)

Welcome tzcode-2018g

  Changes to code

    When generating TZif files with leap seconds, zic no longer uses a
    format that trips up older 32-bit clients, fixing a bug introduced
    in 2018f.  (Reported by Daniel Fischer.)  Also, the zic workaround
    for QTBUG-53071 now also works for TZif files with leap seconds.

    The translator to rearguard format now rewrites the line
    "Rule Japan 1948 1951 - Sep Sat>=8 25:00 0 S" to
    "Rule Japan 1948 1951 - Sep Sun>=9  1:00 0 S".
    This caters to zic before 2007 and to Oracle TZUpdater 2.2.0
    and earlier.  (Reported by Christos Zoulas.)

  Changes to documentation

    tzfile.5 has new sections on interoperability issues.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Mon May 21 04:35:55 2018 UTC (4 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.70: +78 -31 lines
Diff to previous 1.70 (colored)

Sync with HEAD

Revision 1.71 / (download) - annotate - [select for diffs], Fri May 4 15:51:00 2018 UTC (4 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi
Changes since 1.70: +78 -31 lines
Diff to previous 1.70 (colored)

Merge 2018e

  Changes to code

    zic now accepts subsecond precision in expressions like
    00:19:32.13, which is approximately the legal time of the
    Netherlands from 1835 to 1937.  However, because it is
    questionable whether the few recorded uses of non-integer offsets
    had subsecond precision in practice, there are no plans for tzdata
    to use this feature.  (Thanks to Steve Allen for pointing out
    the limitations of historical data in this area.)

    The code is a bit more portable to MS-Windows.  Installers can
    compile with -DRESERVE_STD_EXT_IDS on MS-Windows platforms that
    reserve identifiers like 'localtime'.  (Thanks to Manuela
    Friedrich).

  Changes to documentation and commentary

    theory.html now outlines tzdb's extensions to POSIX's model for
    civil time, and has a section "POSIX features no longer needed"
    that lists POSIX API components that are now vestigial.
    (From suggestions by Steve Summit.)  It also better distinguishes
    time zones from tz regions.  (From a suggestion by Guy Harris.)

    Commentary is now more consistent about using the phrase "daylight
    saving time", to match the C name tm_isdst.  Daylight saving time
    need not occur in summer, and need not have a positive offset from
    standard time.

    Commentary about historical transitions in Uruguay has been expanded
    with links to many relevant legal documents.
    (Thanks to Tim Parenti.)

    Commentary now uses some non-ASCII characters with Unicode value
    less than U+0100, as they can be useful and should work even with
    older editors such as XEmacs.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Jan 25 22:48:42 2018 UTC (5 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.69: +22 -9 lines
Diff to previous 1.69 (colored)

Merge tzcode2018c [ changelog with changes to tzdata sections removed ]

Release 2018c - 2018-01-22 23:00:44 -0800

  Changes to build procedure

    The build procedure now works around mawk 1.3.3's lack of support
    for character class expressions.  (Problem reported by Ohyama.)


Release 2018b - 2018-01-17 23:24:48 -0800

  Changes to build procedure

    The distribution now contains the file 'pacificnew' again.
    This file was inadvertantly omitted in the 2018a distribution.
    (Problem reported by Matias Fonzo.)


Release 2018a - 2018-01-12 22:29:21 -0800

  Changes to build procedure

    The default installation locations have been changed to mostly
    match Debian circa 2017, instead of being designed as an add-on to
    4.3BSD circa 1986.  This affects the Makefile macros TOPDIR,
    TZDIR, MANDIR, and LIBDIR.  New Makefile macros TZDEFAULT, USRDIR,
    USRSHAREDIR, BINDIR, ZDUMPDIR, and ZICDIR let installers tailor
    locations more precisely.  (This responds to suggestions from
    Brian Inglis and from Steve Summit.)

    The default installation procedure no longer creates the
    backward-compatibility link US/Pacific-New, which causes
    confusion during user setup (e.g., see Debian bug 815200).
    Use 'make BACKWARD="backward pacificnew"' to create the link
    anyway, for now.  Eventually we plan to remove the link entirely.

    tzdata.zi now contains a version-number comment.
    (Suggested by Tom Lane.)

    The Makefile now quotes values like BACKWARD more carefully when
    passing them to the shell.  (Problem reported by Zefram.)

    Builders no longer need to specify -DHAVE_SNPRINTF on platforms
    that have snprintf and use pre-C99 compilers.  (Problem reported
    by Jon Skeet.)

  Changes to code

    zic has a new option -t FILE that specifies the location of the
    file that determines local time when TZ is unset.  The default for
    this location can be configured via the new TZDEFAULT makefile
    macro, which defaults to /etc/localtime.

    Diagnostics and commentary now distinguish UT from UTC more
    carefully; see theory.html for more information about UT vs UTC.

    zic has been ported to GCC 8's -Wstringop-truncation option.
    (Problem reported by Martin Sebor.)

  Changes to documentation and commentary

    The zic man page now documents the longstanding behavior that
    times and years can be out of the usual range, with negative times
    counting backwards from midnight and with year 0 preceding year 1.
    (Problem reported by Michael Deckers.)

    The theory.html file now mentions the POSIX limit of six chars
    per abbreviation, and lists alphabetic abbreviations used.

    The files tz-art.htm and tz-link.htm have been renamed to
    tz-art.html and tz-link.html, respectively, for consistency with
    other file names and to simplify web server configuration.

Revision 1.69 / (download) - annotate - [select for diffs], Tue Oct 24 17:38:17 2017 UTC (5 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.68: +97 -40 lines
Diff to previous 1.68 (colored)

Welcome to 2017c:

    zic and the reference runtime now reject multiple leap seconds
    within 28 days of each other, or leap seconds before the Epoch.
    As a result, support for double leap seconds, which was
    obsolescent and undocumented, has been removed.  Double leap
    seconds were an error in the C89 standard; they have never existed
    in civil timekeeping.  (Thanks to Robert Elz and Bradley White for
    noticing glitches in the code that uncovered this problem.)

    zic now warns about use of the obsolescent and undocumented -y
    option, and about use of the obsolescent TYPE field of Rule lines.

    zic now allows unambiguous abbreviations like "Sa" and "Su" for
    weekdays; formerly it rejected them due to a bug.  Conversely, zic
    no longer considers non-prefixes to be abbreviations; for example,
    it no longer accepts "lF" as an abbreviation for "lastFriday".
    Also, zic warns about the undocumented usage with a "last-"
    prefix, e.g., "last-Fri".

    Similarly, zic now accepts the unambiguous abbreviation "L" for
    "Link" in ordinary context and for "Leap" in leap-second context.
    Conversely, zic no longer accepts non-prefixes such as "La" as
    abbreviations for words like "Leap".

    zic no longer accepts leap second lines in ordinary input, or
    ordinary lines in leap second input.  Formerly, zic sometimes
    warned about this undocumented usage and handled it incorrectly.

    The new macro HAVE_TZNAME governs whether the tzname external
    variable is exported, instead of USG_COMPAT.  USG_COMPAT now
    governs only the external variables "timezone" and "daylight".
    This change is needed because the three variables are not in the
    same category: although POSIX requires tzname, it specifies the
    other two variables as optional.  Also, USG_COMPAT is now 1 or 0:
    if not defined, the code attempts to guess it from other macros.

    localtime.c and difftime.c no longer require stdio.h, and .c files
    other than zic.c no longer require sys/wait.h.

    zdump.c no longer assumes snprintf.  (Reported by Jonathan Leffler.)

    Calculation of time_t extrema works around a bug in GCC 4.8.4
    (Reported by Stan Shebs and Joseph Myers.)

    zic.c no longer mistranslates formats of line numbers in non-English
    locales.  (Problem reported by Benno Schulenberg.)

    Several minor changes have been made to the code to make it a
    bit easier to port to MS-Windows and Solaris.  (Thanks to Kees
    Dekker for reporting the problems.)

  Changes to documentation and commentary

    The two new files 'theory.html' and 'calendars' contain the
    contents of the removed file 'Theory'.  The goal is to document
    tzdb theory more accessibly.

    The zic man page now documents abbreviation rules.

    tz-link.htm now covers how to apply tzdata changes to clients.
    (Thanks to Jorge Fábregas for the AIX link.)  It also mentions MySQL.

    The leap-seconds.list URL has been updated to something that is
    more reliable for tzdb.  (Thanks to Tim Parenti and Brian Inglis.)

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:09 2017 UTC (5 years, 10 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.67: +64 -34 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Sync with HEAD

Revision 1.58.2.3 / (download) - annotate - [select for diffs], Mon Mar 20 06:56:58 2017 UTC (6 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.58.2.2: +64 -34 lines
Diff to previous 1.58.2.2 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

Sync with HEAD

Revision 1.68 / (download) - annotate - [select for diffs], Sat Mar 11 18:23:14 2017 UTC (6 years ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Changes since 1.67: +64 -34 lines
Diff to previous 1.67 (colored)

merge 2017a

Revision 1.46.2.1.4.1 / (download) - annotate - [select for diffs], Wed Jan 18 08:46:23 2017 UTC (6 years, 2 months ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.46.2.1: +226 -116 lines
Diff to previous 1.46.2.1 (colored) next main 1.46.2.2 (colored)

Sync with netbsd-5

Revision 1.58.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:03 2017 UTC (6 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.58.2.1: +127 -89 lines
Diff to previous 1.58.2.1 (colored) to branchpoint 1.58 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.46.2.1.2.1 / (download) - annotate - [select for diffs], Tue Dec 13 06:41:29 2016 UTC (6 years, 3 months ago) by snj
Branch: netbsd-7-0
Changes since 1.46.2.1: +226 -116 lines
Diff to previous 1.46.2.1 (colored) next main 1.46.2.2 (colored)

Pull up following revision(s) (requested by kre in ticket #1323):
	lib/libc/time/private.h: patch
	lib/libc/time/zic.c: patch
Make zic properly parse newer tzdata files.

Revision 1.46.2.2 / (download) - annotate - [select for diffs], Tue Dec 13 06:39:13 2016 UTC (6 years, 3 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1
Changes since 1.46.2.1: +226 -116 lines
Diff to previous 1.46.2.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

Pull up following revision(s) (requested by kre in ticket #1323):
	lib/libc/time/private.h: patch
	lib/libc/time/zic.c: patch
Make zic properly parse newer tzdata files.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Nov 5 23:09:37 2016 UTC (6 years, 4 months ago) by kre
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.66: +4 -9 lines
Diff to previous 1.66 (colored)


Actually, this problem won't be reported upstream, their code is
just ...

	ptrdiff_t nitems_max = PTRDIFF_MAX - WORK_AROUND_QTBUG_53071;
	ptrdiff_t amax = nitems_max < SIZE_MAX ? nitems_max : SIZE_MAX;

which is just fine if you think about it a little,   Unfortunately,
in our zealous effort to never leave a ggc warning unused, and to
treat all of the warnings as fatal errors, that code falls foul of the
"you must not compare an unsigned value with a signed value" warning.

nitems_max is a (signed) largish positive integer (obviously, by
inspection).  If it is less than SIZE_MAX then amax is just nitems_max.
In the unlikely case that size_t has less bits than ptrdiff_t so
SIZE_MAX is smaller, amax is limited to SIZE_MAX (which in that case
is known to fit in the ptrdiff_t and to remain positive).

To pacify gcc (and the way the build system uses it), casts are
required.   Unfortunately the cast that was installed here was to
convert SIZE_MAX to a ptrdiff_t.  Unfortunately when ptrdiff_t has
the same number of bits (or less) as size_t (ie: the common case)
but is signed, (ptrdiff_t)SIZE_MAX is just a fancy way of writing -1.

Rearrange the casting in a way that keeps the original intent
of the code for us (it is actyaly now incorrect if size_t has less
bits than a ptrdiff_t) and keeps gcc happy, all at the same time.

What a mess.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Nov 5 22:21:48 2016 UTC (6 years, 4 months ago) by kre
Branch: MAIN
Changes since 1.65: +6 -2 lines
Diff to previous 1.65 (colored)


Revert a couple of lines of code from tzcode2016i to their state in 2016h

SIZE_MAX is the max value of a size_t (and is unsigned) so when converted
to a ptrdiff_t  (int) becomes -1.   That's not what the code was attempting
to achieve.

This will be reported upstream to the tzcode maintainers, and we'll see
what variation appears in tzcode2016j ...

Until then, the older code always worked for us, so it will do for now.

This should fix the broken i386 build.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Nov 4 19:41:53 2016 UTC (6 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.64: +127 -88 lines
Diff to previous 1.64 (colored)

tzcode2016i

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:48:53 2016 UTC (6 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.58: +255 -182 lines
Diff to previous 1.58 (colored)

Sync with HEAD

Revision 1.64 / (download) - annotate - [select for diffs], Fri Oct 7 19:47:16 2016 UTC (6 years, 5 months ago) by kre
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104
Changes since 1.63: +46 -23 lines
Diff to previous 1.63 (colored)


Patch 0001 from upstream to tzcode2016g to restore full functionality
of zic -l

Revision 1.63 / (download) - annotate - [select for diffs], Fri Oct 7 15:29:42 2016 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.62: +189 -172 lines
Diff to previous 1.62 (colored)

merge tzcode2016g

Revision 1.62 / (download) - annotate - [select for diffs], Tue Sep 20 15:03:07 2016 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.61: +5 -5 lines
Diff to previous 1.61 (colored)

use a define, and cast.

Revision 1.61 / (download) - annotate - [select for diffs], Tue Sep 20 13:09:08 2016 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.60: +5 -4 lines
Diff to previous 1.60 (colored)

put back part of the code that determines the smallest of INT_MAX and
SIZE_MAX to avoid llvm truncation warning.

Revision 1.60 / (download) - annotate - [select for diffs], Mon Sep 19 18:43:23 2016 UTC (6 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.59: +4 -4 lines
Diff to previous 1.59 (colored)

PR/51484: gson@: Fix off by one (wrong merge)

Revision 1.59 / (download) - annotate - [select for diffs], Fri Sep 16 17:12:06 2016 UTC (6 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.58: +48 -16 lines
Diff to previous 1.58 (colored)

welcome to tzcond-2016f

Revision 1.58 / (download) - annotate - [select for diffs], Tue May 31 03:47:49 2016 UTC (6 years, 9 months ago) by dholland
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.57: +3 -2 lines
Diff to previous 1.57 (colored)

PR 51003 David Binderman: bzero struct before passing it around.

This is actually unnecessary as the call in question uses only fields
that have been set explicitly, but good practice regardless and it's
not like it's on a performance-critical path.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Mar 15 15:16:01 2016 UTC (7 years ago) by christos
Branch: MAIN
Changes since 1.56: +103 -91 lines
Diff to previous 1.56 (colored)

Sync with 2016b

Revision 1.56 / (download) - annotate - [select for diffs], Fri Oct 9 17:21:45 2015 UTC (7 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.55: +11 -12 lines
Diff to previous 1.55 (colored)

Release 2015g - 2015-10-01 00:39:51 -0700

  Changes affecting code

    localtime no longer mishandles America/Anchorage after 2037.
    (Thanks to Bradley White for reporting the bug.)

    The localtime module allows the variables 'timezone', 'daylight',
    and 'altzone' to be in common storage shared with other modules,
    and declares them in case the system <time.h> does not.
    (Problems reported by Kees Dekker.)

    On platforms with tm_zone, strftime.c now assumes it is not NULL.
    This simplifies the code and is consistent with zdump.c.
    (Problem reported by Christos Zoulas.)

  Changes affecting documentation

   The tzfile man page now documents that transition times denote the
   starts (not the ends) of the corresponding time periods.
   (Ambiguity reported by Bill Seymour.)

Revision 1.55 / (download) - annotate - [select for diffs], Thu Aug 13 11:21:18 2015 UTC (7 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.54: +103 -53 lines
Diff to previous 1.54 (colored)

merge 2015f

Revision 1.54 / (download) - annotate - [select for diffs], Sun Jun 21 16:06:51 2015 UTC (7 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.53: +44 -38 lines
Diff to previous 1.53 (colored)

merge tzcode2015e:

  Changes affecting code

    When displaying data, tzselect converts it to the current locale's
    encoding if the iconv command works.  (Problem reported by random832.)

    tzselect no longer mishandles Dominica, fixing a bug introduced
    in Release 2014f.  (Problem reported by Owen Leibman.)

    zic -l no longer fails when compiled with -DTZDEFAULT=\"/etc/localtime\".
    This fixes a bug introduced in Release 2014f.
    (Problem reported by Leonardo Chiquitto.)

Revision 1.53 / (download) - annotate - [select for diffs], Tue Apr 28 17:00:24 2015 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.52: +147 -97 lines
Diff to previous 1.52 (colored)

welcome to tzcode 2015d (zic performance improvements and cleanups)

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Sun Jan 25 09:11:03 2015 UTC (8 years, 1 month ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE
Branch point for: netbsd-7-nhusb, netbsd-7-0
Changes since 1.46: +359 -289 lines
Diff to previous 1.46 (colored)

Pull up the following revisions via patch, requested by apb in ticket #453:

doc/3RDPARTY                                   	 up to 1.1195
usr.sbin/zdump/Makefile                        	 up to 1.9
usr.sbin/zic/Makefile                          	 up to 1.15
lib/libc/time/Makefile                         	 up to 1.25
lib/libc/time/Makefile.inc                     	 up to 1.21
lib/libc/time/NEWS                             	 up to 1.8
lib/libc/time/README                           	 up to 1.9
lib/libc/time/Theory                           	 up to 1.16
lib/libc/time/asctime.c                        	 up to 1.20
lib/libc/time/checktab.awk                     	 up to 1.8
lib/libc/time/ctime.3                          	 up to 1.51
lib/libc/time/getdate.c                        	 up to 1.3
lib/libc/time/localtime.c                      	 up to 1.92
lib/libc/time/private.h                        	 up to 1.38
lib/libc/time/strftime.c                       	 up to 1.33
lib/libc/time/time2posix.3                     	 up to 1.19
lib/libc/time/tz-art.htm                       	 up to 1.8
lib/libc/time/tz-link.htm                      	 up to 1.20
lib/libc/time/tzfile.5                         	 up to 1.22
lib/libc/time/tzfile.h                         	 up to 1.16
lib/libc/time/tzselect.8                       	 up to 1.6
lib/libc/time/tzselect.ksh                     	 up to 1.12
lib/libc/time/tzset.3                          	 up to 1.31
lib/libc/time/zdump.8                          	 up to 1.14
lib/libc/time/zdump.c                          	 up to 1.40
lib/libc/time/zic.8                            	 up to 1.24
lib/libc/time/zic.c                            	 up to 1.52

Update tzcode from 2014e to 2014j.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Oct 7 22:14:46 2014 UTC (8 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.51: +2 -3 lines
Diff to previous 1.51 (colored)

remove version stuff

Revision 1.51 / (download) - annotate - [select for diffs], Tue Oct 7 21:51:03 2014 UTC (8 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.50: +207 -227 lines
Diff to previous 1.50 (colored)

Sync with tzcode2014h

Revision 1.30.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:16 2014 UTC (8 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.30.2.2: +459 -242 lines
Diff to previous 1.30.2.2 (colored) next main 1.31 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Aug 17 06:11:48 2014 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.49: +2 -3 lines
Diff to previous 1.49 (colored)

remove extra initialization

Revision 1.49 / (download) - annotate - [select for diffs], Sat Aug 16 16:22:21 2014 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.48: +4 -6 lines
Diff to previous 1.48 (colored)

Reduce diffs with upstream by automatically defining INITIALIZE as it was
intended.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Aug 16 10:38:43 2014 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.47: +5 -3 lines
Diff to previous 1.47 (colored)

gcc on the sparc needs help with variables it thinks are unitialized, but are not.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Aug 15 11:04:07 2014 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.46: +170 -78 lines
Diff to previous 1.46 (colored)

merge tzcode2014f via patch

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:51:51 2014 UTC (8 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.44: +113 -79 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Rebase.

Revision 1.46 / (download) - annotate - [select for diffs], Wed May 28 19:13:27 2014 UTC (8 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.45: +45 -14 lines
Diff to previous 1.45 (colored)

welcome to 2014d; zic big bang fixes:
	some programs did not handle large negative time_t values well (gnome)

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:36:54 2014 UTC (8 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.29.2.1: +427 -245 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.45 / (download) - annotate - [select for diffs], Tue May 13 16:33:56 2014 UTC (8 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.44: +71 -68 lines
Diff to previous 1.44 (colored)

Welcome to 2014c
   Changes affecting code

     zic now generates transitions for minimum time values, eliminating
     guesswork when handling low-valued time stamps.  (Thanks to Arthur
     David Olson.)

     Port to Cygwin sans glibc.  (Thanks to Arthur David Olson.)

   Changes affecting commentary and documentation

     Remove now-confusing comment about Jordan.  (Thanks to Oleksii
     Nochovnyi.)

Revision 1.44 / (download) - annotate - [select for diffs], Thu Dec 26 18:34:28 2013 UTC (9 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.43: +61 -24 lines
Diff to previous 1.43 (colored)

update from tzcode 2013e to tzcode2013i
i:
    The compile-time flag NOSOLAR has been removed, as nowadays the
    benefit of slightly shrinking runtime table size is outweighed by the
    cost of disallowing potential future updates that exceed old limits.
h:
    Fix localtime overflow bugs with 32-bit unsigned time_t.

    zdump no longer assumes sscanf returns maximal values on overflow.
g:
    'zic' now runs on platforms that lack both hard links and symlinks.
    (Thanks to Theo Veenker for reporting the problem, for MinGW.)
    Also, fix some bugs on platforms that lack hard links but have symlinks.

    'zic -v' again warns that Asia/Tehran has no POSIX environment variable
    to predict the far future, fixing a bug introduced in 2013e.
f:
    The types of the global variables 'timezone' and 'altzone' (if present)
    have been changed back to 'long'.  This is required for 'timezone'
    by POSIX, and for 'altzone' by common practice, e.g., Solaris 11.
    These variables were originally 'long' in the tz code, but were
    mistakenly changed to 'time_t' in 1987; nobody reported the
    incompatibility until now.  The difference matters on x32, where
    'long' is 32 bits and 'time_t' is 64.  (Thanks to Elliott Hughes.)

Revision 1.43 / (download) - annotate - [select for diffs], Fri Sep 20 19:06:54 2013 UTC (9 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.42: +219 -100 lines
Diff to previous 1.42 (colored)

Welcome to tzcode 2013e:

  Changes affecting API

    The 'zic' command now outputs a dummy transition when far-future
    data can't be summarized using a TZ string, and uses a 402-year
    window rather than a 400-year window.  For the current data, this
    affects only the Asia/Tehran file.  It does not affect any of the
    time stamps that this file represents, so zdump outputs the same
    information as before.  (Thanks to Andrew Main (Zefram).)

    The 'date' command has a new '-r' option, which lets you specify
    the integer time to display, a la FreeBSD.

    The 'tzselect' command has two new options '-c' and '-n', which lets you
    select a zone based on latitude and longitude.

    The 'zic' command's '-v' option now warns about constructs that
    require the new version-3 binary file format.  (Thanks to Arthur
    David Olson for the suggestion.)

    Support for floating-point time_t has been removed.
    It was always dicey, and POSIX no longer requires it.
    (Thanks to Eric Blake for suggesting to the POSIX committee to
    remove it, and thanks to Alan Barrett, Clive D.W. Feather, Andy
    Heninger, Arthur David Olson, and Alois Treindl, for reporting
    bugs and elucidating some of the corners of the old floating-point
    implementation.)

    The signatures of 'offtime', 'timeoff', and 'gtime' have been
    changed back to the old practice of using 'long' to represent UT
    offsets.  This had been inadvertently and mistakenly changed to
    'int_fast32_t'.  (Thanks to Christos Zoulos.)

    The code avoids undefined behavior on integer overflow in some
    more places, including gmtime, localtime, mktime and zdump.

  Changes affecting the zdump utility

    zdump now outputs "UT" when referring to Universal Time, not "UTC".
    "UTC" does not make sense for time stamps that predate the introduction
    of UTC, whereas "UT", a more-generic term, does.  (Thanks to Steve Allen
    for clarifying UT vs UTC.)

  Data changes affecting behavior of tzselect and similar programs

    Country code BQ is now called the more-common name "Caribbean Netherlands"
    rather than the more-official "Bonaire, St Eustatius & Saba".

    Remove from zone.tab the names America/Montreal, America/Shiprock,
    and Antarctica/South_Pole, as they are equivalent to existing
    same-country-code zones for post-1970 time stamps.  The data for
    these names are unchanged, so the names continue to work as before.

  Changes affecting code internals

    zic -c now runs way faster on 64-bit hosts when given large numbers.

    zic now uses vfprintf to avoid allocating and freeing some memory.

    tzselect now computes the list of continents from the data,
    rather than have it hard-coded.

    Minor changes pacify GCC 4.7.3 and GCC 4.8.1.

  Changes affecting the build procedure

    The 'leapseconds' file is now generated automatically from a
    new file 'leap-seconds.list', which is a copy of
    <ftp://time.nist.gov/pub/leap-seconds.list>.
    A new source file 'leapseconds.awk' implements this.
    The goal is simplification of the future maintenance of 'leapseconds'.

    When building the 'posix' or 'right' subdirectories, if the
    subdirectory would be a copy of the default subdirectory, it is
    now made a symbolic link if that is supported.  This saves about
    2 MB of file system space.

    The links America/Shiprock and Antarctica/South_Pole have been
    moved to the 'backward' file.  This affects only nondefault builds
    that omit 'backward'.

  Changes affecting documentation and commentary

    Changes to the 'tzfile' man page

      It now mentions that the binary file format may be extended in
      future versions by appending data.

      It now refers to the 'zdump' and 'zic' man pages.

    Changes to the 'zic' man page

      It lists conditions that elicit a warning with '-v'.

      It says that the behavior is unspecified when duplicate names
      are given, or if the source of one link is the target of another.

      Its examples are updated to match the latest data.

      The definition of white space has been clarified slightly.
      (Thanks to Michael Deckers.)

    Changes to the 'Theory' file

      There is a new section about the accuracy of the tz database,
      describing the many ways that errors can creep in, and
      explaining why so many of the pre-1970 time stamps are wrong or
      misleading (thanks to Steve Allen, Lester Caine, and Garrett
      Wollman for discussions that contributed to this).

      The 'Theory' file describes LMT better (this follows a
      suggestion by Guy Harris).

      It refers to the 2013 edition of POSIX rather than the 2004 edition.

      It's mentioned that excluding 'backward' should not affect the
      other data, and it suggests at least one zone.tab name per
      inhabited country (thanks to Stephen Colebourne).

      Some longstanding restrictions on names are documented, e.g.,
      'America/New_York' precludes 'America/New_York/Bronx'.

      It gives more reasons for the 1970 cutoff.

      It now mentions which time_t variants are supported, such as
      signed integer time_t.  (Thanks to Paul Goyette for reporting
      typos in an experimental version of this change.)

      (Thanks to Philip Newton for correcting typos in these changes.)

    Documentation and commentary is more careful to distinguish UT in
    general from UTC in particular.  (Thanks to Steve Allen.)

    Add a better source for the Zurich 1894 transition.
    (Thanks to Pierre-Yves Berger.)

    Update shapefile citations in tz-link.htm.  (Thanks to Guy Harris.)

Revision 1.42 / (download) - annotate - [select for diffs], Tue Aug 6 05:48:39 2013 UTC (9 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.41: +6 -3 lines
Diff to previous 1.41 (colored)

CID 1060853: Negative array index read (REVERSE_NEGATIVE)

Revision 1.40.4.1 / (download) - annotate - [select for diffs], Tue Jul 23 21:07:29 2013 UTC (9 years, 7 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.40: +117 -93 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

sync with HEAD

Revision 1.41 / (download) - annotate - [select for diffs], Wed Jul 17 20:13:04 2013 UTC (9 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1
Changes since 1.40: +117 -93 lines
Diff to previous 1.40 (colored)

welcome to 2013d

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:21:06 2013 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.30.2.1: +62 -63 lines
Diff to previous 1.30.2.1 (colored)

resync from head

Revision 1.40 / (download) - annotate - [select for diffs], Wed Mar 6 18:40:19 2013 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base, agc-symver-base, agc-symver
Branch point for: riastradh-drm2
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

Overly aggressive long->zic_t conversion.
I should add zic_t to the dictionary instead.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Mar 6 18:21:18 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.38: +6 -8 lines
Diff to previous 1.38 (colored)

change %ld to %jd

Revision 1.38 / (download) - annotate - [select for diffs], Wed Mar 6 18:19:07 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.37: +51 -52 lines
Diff to previous 1.37 (colored)

- change zic_t to intmax_t and friends suggested by apb
- change long to zic_t suggested by Paul Eggert
- remove unused constants

Revision 1.37 / (download) - annotate - [select for diffs], Mon Mar 4 21:18:51 2013 UTC (10 years ago) by joerg
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

usage is dead.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Mar 2 21:39:48 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.35: +7 -7 lines
Diff to previous 1.35 (colored)

use correct types.

Revision 1.35 / (download) - annotate - [select for diffs], Sat Mar 2 21:24:28 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.34: +11 -9 lines
Diff to previous 1.34 (colored)

update to tzcode2013a

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:00:43 2012 UTC (10 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.30: +236 -380 lines
Diff to previous 1.30 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 18:59:06 2012 UTC (10 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.29: +238 -383 lines
Diff to previous 1.29 (colored)

sync with head

Revision 1.34 / (download) - annotate - [select for diffs], Thu Oct 25 15:04:05 2012 UTC (10 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

Revert previous - casting to long is a bad idea, as the value will overflow.
Pointed out by apb.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Oct 25 13:14:32 2012 UTC (10 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (colored)

Add a few casts to avoid (IMHO bogus) gcc warnings breaking the vax build.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Oct 24 00:30:52 2012 UTC (10 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.31: +2 -14 lines
Diff to previous 1.31 (colored)

remove error(1) output.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Oct 24 00:10:03 2012 UTC (10 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.30: +248 -380 lines
Diff to previous 1.30 (colored)

apply 2012g via patch

Revision 1.30 / (download) - annotate - [select for diffs], Thu Aug 9 12:38:26 2012 UTC (10 years, 7 months ago) by christos
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.29: +4 -5 lines
Diff to previous 1.29 (colored)

merge 2012e

Revision 1.29 / (download) - annotate - [select for diffs], Sun Sep 4 10:10:26 2011 UTC (11 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache
Changes since 1.28: +66 -7 lines
Diff to previous 1.28 (colored)

bring in the 2011i changes.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jan 15 12:31:57 2011 UTC (12 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.27: +10 -4 lines
Diff to previous 1.27 (colored)

Backout previous, it breaks the build big time and causes e.g. date(1)
and top(1) to dump core.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jan 14 23:35:07 2011 UTC (12 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.26: +6 -12 lines
Diff to previous 1.26 (colored)

don't depend on integer oveflow wrapping to detect it. From Paul Eggert in
the tz mailing list.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jan 2 10:42:49 2010 UTC (13 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.25: +6 -4 lines
Diff to previous 1.25 (colored)

Include "nbtool_config.h" for src/tools/zic/ and
remove bogus -DNOID to disable __RCSID().

XXX: should we also remove #ifndef lint from scheck.c and zic.c?

Revision 1.25 / (download) - annotate - [select for diffs], Thu Dec 31 22:49:16 2009 UTC (13 years, 2 months ago) by mlelstv
Branch: MAIN
Changes since 1.24: +820 -343 lines
Diff to previous 1.24 (colored)

Import tzcode2009k.
- now understands 64bit time_t and 64bit data in timezone files.
- localtime(), gmtime(), asctime() and ctime() may now fail with
  a NULL result if time_t cannot be represented by struct tm.

Revision 1.1.1.16 / (download) - annotate - [select for diffs] (vendor branch), Sun Oct 25 16:20:17 2009 UTC (13 years, 4 months ago) by mlelstv
Branch: ADO
CVS Tags: TZCODE2009K
Changes since 1.1.1.15: +810 -335 lines
Diff to previous 1.1.1.15 (colored)

import tzcode2009k

Revision 1.23.36.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:28 2009 UTC (13 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.24 / (download) - annotate - [select for diffs], Thu Apr 23 01:39:47 2009 UTC (13 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

Fix -Wcast-qual issue

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Tue Jun 15 22:02:14 2004 UTC (18 years, 9 months ago) by he
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Pull up revision 1.23 (requested by kleink in ticket #407):
	Update to tzcode2004a.

Revision 1.23 / (download) - annotate - [select for diffs], Thu May 27 20:39:49 2004 UTC (18 years, 9 months ago) by kleink
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, mjf-devfs2-base, mjf-devfs2, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, christos-time_t-nbase, christos-time_t-base, christos-time_t, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: jym-xensuspend
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored)

Merge tzcode2004a.

Revision 1.1.1.15 / (download) - annotate - [select for diffs] (vendor branch), Thu May 27 20:36:13 2004 UTC (18 years, 9 months ago) by kleink
Branch: ADO
CVS Tags: TZCODE2004A
Changes since 1.1.1.14: +3 -3 lines
Diff to previous 1.1.1.14 (colored)

Import tzcode2004a.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Dec 20 00:21:00 2003 UTC (19 years, 3 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.21: +2 -3 lines
Diff to previous 1.21 (colored)

One merge-o missed in previous.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Dec 20 00:12:05 2003 UTC (19 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.20: +6 -3 lines
Diff to previous 1.20 (colored)

Merge tzcode2003e.

Revision 1.1.1.14 / (download) - annotate - [select for diffs] (vendor branch), Fri Dec 19 23:53:21 2003 UTC (19 years, 3 months ago) by kleink
Branch: ADO
CVS Tags: TZCODE2003E
Changes since 1.1.1.13: +4 -2 lines
Diff to previous 1.1.1.13 (colored)

Import tzcode2003e.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Oct 29 20:43:27 2003 UTC (19 years, 4 months ago) by kleink
Branch: MAIN
Changes since 1.19: +26 -21 lines
Diff to previous 1.19 (colored)

Merge tzcode2003d.

Revision 1.1.1.13 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 29 20:19:10 2003 UTC (19 years, 4 months ago) by kleink
Branch: ADO
CVS Tags: TZCODE2003D
Changes since 1.1.1.12: +23 -20 lines
Diff to previous 1.1.1.12 (colored)

Import tzcode2003d.

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Fri Mar 22 20:42:47 2002 UTC (21 years ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.18.2.1: +2 -2 lines
Diff to previous 1.18.2.1 (colored) next main 1.19 (colored)

Catch up to -current.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Fri Mar 8 21:36:55 2002 UTC (21 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.18: +20 -12 lines
Diff to previous 1.18 (colored)

Catch up to -current.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 29 12:40:34 2002 UTC (21 years, 1 month ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.18: +20 -12 lines
Diff to previous 1.18 (colored)

Merge tzcode2002b.

Revision 1.1.1.12 / (download) - annotate - [select for diffs] (vendor branch), Tue Jan 29 12:30:38 2002 UTC (21 years, 1 month ago) by kleink
Branch: ADO
CVS Tags: TZCODE2002B
Changes since 1.1.1.11: +17 -12 lines
Diff to previous 1.1.1.11 (colored)

Import tzcode2002b.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Dec 12 15:25:41 2000 UTC (22 years, 3 months ago) by kleink
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

Merge tzcode2000g.

Revision 1.1.1.11 / (download) - annotate - [select for diffs] (vendor branch), Tue Dec 12 15:21:09 2000 UTC (22 years, 3 months ago) by kleink
Branch: ADO
CVS Tags: TZCODE2000G
Changes since 1.1.1.10: +2 -2 lines
Diff to previous 1.1.1.10 (colored)

Import tzcode2000g.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Fri Aug 4 04:04:41 2000 UTC (22 years, 7 months ago) by hubertf
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Pull up rev. 1.17 to netbsd-1-5 branch, OK'd by thorpej:

 > make usage fit into 80 columns

Revision 1.17 / (download) - annotate - [select for diffs], Wed Aug 2 15:17:20 2000 UTC (22 years, 7 months ago) by hubertf
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

make usage fit into 80 columns

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:29:56 1999 UTC (23 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.15: +10 -8 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Pull up to last week's -current.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Nov 10 20:32:31 1999 UTC (23 years, 4 months ago) by kleink
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.15: +10 -8 lines
Diff to previous 1.15 (colored)

Merge tzcode1999h.

Revision 1.1.1.10 / (download) - annotate - [select for diffs] (vendor branch), Wed Nov 10 20:23:40 1999 UTC (23 years, 4 months ago) by kleink
Branch: ADO
CVS Tags: TZCODE1999I, TZCODE1999H
Changes since 1.1.1.9: +8 -6 lines
Diff to previous 1.1.1.9 (colored)

Import tzcode1999h.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Feb 8 18:00:19 1999 UTC (24 years, 1 month ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.14: +23 -9 lines
Diff to previous 1.14 (colored)

Merge tzcode1999b.

Revision 1.1.1.9 / (download) - annotate - [select for diffs] (vendor branch), Mon Feb 8 17:39:40 1999 UTC (24 years, 1 month ago) by kleink
Branch: ADO
CVS Tags: TZCODE1999B
Changes since 1.1.1.8: +21 -7 lines
Diff to previous 1.1.1.8 (colored)

Imported tzcode1999b.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Oct 4 19:27:55 1998 UTC (24 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.13: +6 -5 lines
Diff to previous 1.13 (colored)

Merge tzcode1998h.

Revision 1.1.1.8 / (download) - annotate - [select for diffs] (vendor branch), Sun Oct 4 19:20:20 1998 UTC (24 years, 5 months ago) by kleink
Branch: ADO
CVS Tags: TZCODE1998H
Changes since 1.1.1.7: +4 -3 lines
Diff to previous 1.1.1.7 (colored)

Import tzcode1998H.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Sep 11 10:55:55 1998 UTC (24 years, 6 months ago) by kleink
Branch: MAIN
Changes since 1.12: +7 -6 lines
Diff to previous 1.12 (colored)

Replace `unix' in two feature tests (slid through my test machine's compiler
update window).

Revision 1.12 / (download) - annotate - [select for diffs], Thu Sep 10 15:58:40 1998 UTC (24 years, 6 months ago) by kleink
Branch: MAIN
Changes since 1.11: +14 -4 lines
Diff to previous 1.11 (colored)

Merge tzcode1998f.

Revision 1.1.1.7 / (download) - annotate - [select for diffs] (vendor branch), Thu Sep 10 14:55:56 1998 UTC (24 years, 6 months ago) by kleink
Branch: ADO
CVS Tags: TZCODE1998F
Changes since 1.1.1.6: +12 -2 lines
Diff to previous 1.1.1.6 (colored)

Import tzcode1998f.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jan 22 07:07:02 1998 UTC (25 years, 2 months ago) by jtc
Branch: MAIN
Changes since 1.10: +13 -8 lines
Diff to previous 1.10 (colored)

sync with tzcode1998a

Revision 1.1.1.6 / (download) - annotate - [select for diffs] (vendor branch), Thu Jan 22 06:55:58 1998 UTC (25 years, 2 months ago) by jtc
Branch: ADO
CVS Tags: TZCODE1998B, TZCODE1998A
Changes since 1.1.1.5: +11 -6 lines
Diff to previous 1.1.1.5 (colored)

import tzcode1998a

Revision 1.10 / (download) - annotate - [select for diffs], Fri Oct 17 14:26:43 1997 UTC (25 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.9: +7 -4 lines
Diff to previous 1.9 (colored)

WARNSify

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jul 13 20:26:56 1997 UTC (25 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.8: +6 -1 lines
Diff to previous 1.8 (colored)

Fix RCSID's

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jun 21 21:26:23 1997 UTC (25 years, 9 months ago) by cjs
Branch: MAIN
Changes since 1.7: +1 -3 lines
Diff to previous 1.7 (colored)

Remove bogus `#ifdef unix'.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jun 18 01:13:03 1997 UTC (25 years, 9 months ago) by jtc
Branch: MAIN
Changes since 1.6: +68 -22 lines
Diff to previous 1.6 (colored)

Sync with tzcode1997e

Revision 1.1.1.5 / (download) - annotate - [select for diffs] (vendor branch), Wed Jun 18 00:41:18 1997 UTC (25 years, 9 months ago) by jtc
Branch: ADO
CVS Tags: TZCODE1997G, TZCODE1997E
Changes since 1.1.1.4: +66 -20 lines
Diff to previous 1.1.1.4 (colored)

import tzcode1997e

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 23 14:02:32 1997 UTC (26 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.5: +24 -19 lines
Diff to previous 1.5 (colored)

- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 10 22:04:36 1996 UTC (26 years, 6 months ago) by jtc
Branch: MAIN
CVS Tags: nsswitch, ivory_soap2
Changes since 1.4: +270 -133 lines
Diff to previous 1.4 (colored)

sync with tzcode96l

Revision 1.1.1.4 / (download) - annotate - [select for diffs] (vendor branch), Tue Sep 10 21:59:53 1996 UTC (26 years, 6 months ago) by jtc
Branch: ADO
CVS Tags: TZCODE96L
Changes since 1.1.1.3: +269 -132 lines
Diff to previous 1.1.1.3 (colored)

import tzcode96l

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jan 20 02:31:50 1996 UTC (27 years, 2 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.3: +8 -11 lines
Diff to previous 1.3 (colored)

sync with tzcode96c

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sat Jan 20 01:58:47 1996 UTC (27 years, 2 months ago) by jtc
Branch: ADO
CVS Tags: TZCODE96C
Changes since 1.1.1.2: +7 -10 lines
Diff to previous 1.1.1.2 (colored)

import tzcode96c

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 8 22:51:01 1996 UTC (27 years, 2 months ago) by jtc
Branch: MAIN
Changes since 1.2: +66 -45 lines
Diff to previous 1.2 (colored)

sync with tzcode96a

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Mon Jan 8 22:45:23 1996 UTC (27 years, 2 months ago) by jtc
Branch: ADO
CVS Tags: TZCODE96A
Changes since 1.1.1.1: +65 -44 lines
Diff to previous 1.1.1.1 (colored)

import tzcode96a

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Fri Mar 10 18:12:45 1995 UTC (28 years ago) by jtc
Branch: ivory_soap
Changes since 1.2.2.1: +1995 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Added NetBSD Id.

Revision 1.2.2.1, Fri Mar 10 18:12:44 1995 UTC (28 years ago) by jtc
Branch: ivory_soap
Changes since 1.2: +0 -1995 lines
FILE REMOVED

file zic.c was added on branch ivory_soap on 1995-03-10 18:12:45 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Fri Mar 10 18:12:44 1995 UTC (28 years ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Branch point for: ivory_soap
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored)

Added NetBSD Id.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Mar 10 07:08:18 1995 UTC (28 years ago) by jtc
Branch: ADO
CVS Tags: TZCODE95C, TZCODE95B
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Strictly speaking, these files probably don't belong in the libc sources.
On the other hand, it makes it easier to track the master tzcode sources
if we try to keep the distribution together as much as possible.

The zic and zdump commands will access the files the need with make's
.PATH facility.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Mar 10 07:08:18 1995 UTC (28 years ago) by jtc
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>