about summary refs log tree commit diff
path: root/timezone/testdata
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2023-01-05 18:21:25 +0100
committerFlorian Weimer <fweimer@redhat.com>2023-01-05 18:22:55 +0100
commit35141f304e319109c322f797ae71c0b9420ccb05 (patch)
treed0b3dc256825087141dd07824a98a224a58ef420 /timezone/testdata
parent8f27dc1af5238adbc14000f073178ee4a2c2b3cf (diff)
downloadglibc-35141f304e319109c322f797ae71c0b9420ccb05.tar.gz
glibc-35141f304e319109c322f797ae71c0b9420ccb05.tar.xz
glibc-35141f304e319109c322f797ae71c0b9420ccb05.zip
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.
Diffstat (limited to 'timezone/testdata')
-rw-r--r--timezone/testdata/XT6bin0 -> 625 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/timezone/testdata/XT6 b/timezone/testdata/XT6
new file mode 100644
index 0000000000..07b393bb7d
--- /dev/null
+++ b/timezone/testdata/XT6
Binary files differ