glibc/timezone
Florian Weimer e05036b194 time: Set daylight to 1 for matching DST/offset change (bug 29951)
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 35141f304e)
2023-01-10 16:27:23 +01:00
..
testdata time: Set daylight to 1 for matching DST/offset change (bug 29951) 2023-01-10 16:27:23 +01:00
africa
antarctica
asia
australasia
backward
etcetera
europe
factory
iso3166.tab
leapseconds
Makefile time: Set daylight to 1 for matching DST/offset change (bug 29951) 2023-01-10 16:27:23 +01:00
northamerica
pacificnew
private.h
README
simplebackw
solar87
solar88
solar89
southamerica
systemv
test-tz.c
tst-bz28707.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-bz29951.c time: Set daylight to 1 for matching DST/offset change (bug 29951) 2023-01-10 16:27:23 +01:00
tst-timezone.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-tzset.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
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.