mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-15 04:20:28 +08:00
e05036b194
The daylight variable is supposed to be set to 1 if DST is ever in
use for the current time zone. But __tzfile_read used to do this:
__daylight = rule_stdoff != rule_dstoff;
This check can fail to set __daylight to 1 if the DST and non-DST
offsets happen to be the same.
(cherry picked from commit
|
||
---|---|---|
.. | ||
testdata | ||
africa | ||
antarctica | ||
asia | ||
australasia | ||
backward | ||
etcetera | ||
europe | ||
factory | ||
iso3166.tab | ||
leapseconds | ||
Makefile | ||
northamerica | ||
pacificnew | ||
private.h | ||
README | ||
simplebackw | ||
solar87 | ||
solar88 | ||
solar89 | ||
southamerica | ||
systemv | ||
test-tz.c | ||
tst-bz28707.c | ||
tst-bz29951.c | ||
tst-timezone.c | ||
tst-tzset.c | ||
tzfile.h | ||
tzselect.ksh | ||
version | ||
yearistype | ||
zdump.c | ||
zic.c | ||
zone.tab |
The files zic.c zdump.c tzfile.h private.h tzselect.ksh version come from the tzcode package by Arthur David Olson et.al. The 'version' file specifies which tzcode version was used. The files africa antarctica asia australasia europe northamerica southamerica pacificnew etcetera factory backward systemv solar87 solar88 solar89 iso3166.tab zone.tab leapseconds yearistype come from the tzdata package by Arthur David Olson et.al. except that its 'yearistype.sh' file is renamed to 'yearistype'. These tzdata files were taken from tzdata 2009i and have not been updated since, as they do not affect glibc installation and are present only for regression testing. Please also see: https://sourceware.org/glibc/wiki/SharedSourceFiles These packages may be found at https://ftp.iana.org/tz/releases/. Commentary should be addressed to tz@iana.org. The subdirectory testdata contains manually edited data files for regression testing purposes.