Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: christos
Date: Sat Feb 17 14:54:47 UTC 2024
Modified Files:
src/include: tzfile.h
src/lib/libc/time: Makefile NEWS localtime.c private.h strftime.c
theory.html tz-art.html tz-link.html tzfile.5 tzselect.ksh version
zic.8 zic.c
Log Message:
Sync with tzcode2024a:
Release 2024a - 2024-02-01 09:28:56 -0800
Changes to code
The FROM and TO columns of Rule lines can no longer be "minimum"
or an abbreviation of "minimum", because TZif files do not support
DST rules that extend into the indefinite past - although these
rules were supported when TZif files had only 32-bit data, this
stopped working when 64-bit TZif files were introduced in 1995.
This should not be a problem for realistic data, since DST was
first used in the 20th century. As a transition aid, FROM columns
like "minimum" are now diagnosed and then treated as if they were
the year 1900; this should suffice for TZif files on old systems
with only 32-bit time_t, and it is more compatible with bugs in
2023c-and-earlier localtime.c. (Problem reported by Yoshito
Umaoka.)
localtime and related functions no longer mishandle some
timestamps that occur about 400 years after a switch to a time
zone with a DST schedule. In 2023d data this problem was visible
for some timestamps in November 2422, November 2822, etc. in
America/Ciudad_Juarez. (Problem reported by Gilmore Davidson.)
strftime %s now uses tm_gmtoff if available. (Problem and draft
patch reported by Dag-Erling Smørgrav.)
Changes to build procedure
The leap-seconds.list file is now copied from the IERS instead of
from its downstream counterpart at NIST, as the IERS version is
now in the public domain too and tends to be more up-to-date.
(Thanks to Martin Burnicki for liaisoning with the IERS.)
Changes to documentation
The strftime man page documents which struct tm members affect
which conversion specs, and that tzset is called. (Problems
reported by Robert Elz and Steve Summit.)
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/include/tzfile.h
cvs rdiff -u -r1.56 -r1.57 src/lib/libc/time/Makefile
cvs rdiff -u -r1.43 -r1.44 src/lib/libc/time/NEWS
cvs rdiff -u -r1.140 -r1.141 src/lib/libc/time/localtime.c
cvs rdiff -u -r1.68 -r1.69 src/lib/libc/time/private.h
cvs rdiff -u -r1.53 -r1.54 src/lib/libc/time/strftime.c
cvs rdiff -u -r1.18 -r1.19 src/lib/libc/time/theory.html
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/time/tz-art.html
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/time/tz-link.html
cvs rdiff -u -r1.34 -r1.35 src/lib/libc/time/tzfile.5
cvs rdiff -u -r1.22 -r1.23 src/lib/libc/time/tzselect.ksh
cvs rdiff -u -r1.24 -r1.25 src/lib/libc/time/version
cvs rdiff -u -r1.49 -r1.50 src/lib/libc/time/zic.8
cvs rdiff -u -r1.90 -r1.91 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