glibc/timezone
Florian Weimer 71d4fe94a1 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 17:36:15 +01:00
..
testdata time: Set daylight to 1 for matching DST/offset change (bug 29951) 2023-01-10 17:36:15 +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 17:36:15 +01:00
northamerica
pacificnew
private.h Update timezone code from tzcode 2020a 2020-05-15 09:19:27 -07:00
README Update timezone/README 2020-01-09 23:00:25 -08:00
simplebackw
solar87
solar88
solar89
southamerica
systemv
test-tz.c
tst-bz28707.c timezone: test-case for BZ #28707 2022-01-07 10:21:11 +01:00
tst-bz29951.c time: Set daylight to 1 for matching DST/offset change (bug 29951) 2023-01-10 17:36:15 +01:00
tst-timezone.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-tzset.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tzfile.h Update timezone code from tzcode 2020a 2020-05-15 09:19:27 -07:00
tzselect.ksh Update timezone code from tzcode 2018g. 2018-12-10 13:11:58 +00:00
version Update timezone code from tzcode 2020a 2020-05-15 09:19:27 -07:00
yearistype
zdump.c Update timezone code from tzcode 2020a 2020-05-15 09:19:27 -07:00
zic.c Update timezone code from tzcode 2020a 2020-05-15 09:19:27 -07:00
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.