Module Name:    src
Committed By:   christos
Date:           Tue Oct 24 17:38:17 UTC 2017

Modified Files:
        src/lib/libc/time: CONTRIBUTING LICENSE Makefile NEWS asctime.c ctime.3
            difftime.c localtime.c private.h strftime.c tz-art.htm
            tz-how-to.html tz-link.htm tzfile.5 tzselect.ksh version zdump.c
            zic.8 zic.c
Added Files:
        src/lib/libc/time: calendars theory.html

Log Message:
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.)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/time/CONTRIBUTING \
    src/lib/libc/time/tz-how-to.html
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/time/LICENSE
cvs rdiff -u -r1.37 -r1.38 src/lib/libc/time/Makefile
cvs rdiff -u -r1.21 -r1.22 src/lib/libc/time/NEWS src/lib/libc/time/asctime.c
cvs rdiff -u -r0 -r1.1 src/lib/libc/time/calendars \
    src/lib/libc/time/theory.html
cvs rdiff -u -r1.54 -r1.55 src/lib/libc/time/ctime.3
cvs rdiff -u -r1.17 -r1.18 src/lib/libc/time/difftime.c
cvs rdiff -u -r1.108 -r1.109 src/lib/libc/time/localtime.c
cvs rdiff -u -r1.50 -r1.51 src/lib/libc/time/private.h
cvs rdiff -u -r1.39 -r1.40 src/lib/libc/time/strftime.c
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/time/tz-art.htm
cvs rdiff -u -r1.31 -r1.32 src/lib/libc/time/tz-link.htm
cvs rdiff -u -r1.24 -r1.25 src/lib/libc/time/tzfile.5
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/time/tzselect.ksh
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/time/version
cvs rdiff -u -r1.46 -r1.47 src/lib/libc/time/zdump.c
cvs rdiff -u -r1.26 -r1.27 src/lib/libc/time/zic.8
cvs rdiff -u -r1.68 -r1.69 src/lib/libc/time/zic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to