Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc/time



Module Name:    src
Committed By:   christos
Date:           Thu Dec 26 18:34:28 UTC 2013

Modified Files:
        src/lib/libc/time: Makefile README ctime.3 localtime.c private.h
            strftime.c tz-link.htm tzfile.h tzselect.ksh tzset.3 zdump.c zic.c
Added Files:
        src/lib/libc/time: NEWS leapseconds.awk

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


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/time/Makefile
cvs rdiff -u -r0 -r1.1 src/lib/libc/time/NEWS \
    src/lib/libc/time/leapseconds.awk
cvs rdiff -u -r1.7 -r1.8 src/lib/libc/time/README
cvs rdiff -u -r1.48 -r1.49 src/lib/libc/time/ctime.3
cvs rdiff -u -r1.80 -r1.81 src/lib/libc/time/localtime.c
cvs rdiff -u -r1.31 -r1.32 src/lib/libc/time/private.h \
    src/lib/libc/time/zdump.c
cvs rdiff -u -r1.29 -r1.30 src/lib/libc/time/strftime.c
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/time/tz-link.htm \
    src/lib/libc/time/tzfile.h
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/time/tzselect.ksh
cvs rdiff -u -r1.26 -r1.27 src/lib/libc/time/tzset.3
cvs rdiff -u -r1.43 -r1.44 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.




Home | Main Index | Thread Index | Old Index