glibc/timezone
Alejandro Colomar 53fcdf5f74 Silence most -Wzero-as-null-pointer-constant diagnostics
Replace 0 by NULL and {0} by {}.

Omit a few cases that aren't so trivial to fix.

Link: <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117059>
Link: <https://software.codidact.com/posts/292718/292759#answer-292759>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-11-25 16:45:59 -03:00
..
testdata time: Set daylight to 1 for matching DST/offset change (bug 29951) 2023-01-05 18:22:55 +01:00
africa
antarctica
asia
australasia
backward
etcetera
europe
factory
iso3166.tab
leapseconds
Makefile timezone: sync to TZDB 2024a 2024-04-07 13:35:48 -07:00
northamerica
pacificnew
private.h timezone: sync to TZDB 2024b 2024-09-05 20:57:17 +00:00
README
simplebackw
solar87
solar88
solar89
southamerica
systemv
test-tz.c
tst-bz28707.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-bz29951.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-timezone.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-tzset.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tzfile.h timezone: sync to TZDB 2024b 2024-09-05 20:57:17 +00:00
tzselect.ksh timezone: sync to TZDB 2024b 2024-09-05 20:57:17 +00:00
version timezone: sync to TZDB 2024a 2024-04-07 13:35:48 -07:00
yearistype
zdump.c timezone: sync to TZDB 2024b 2024-09-05 20:57:17 +00:00
zic.c Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03: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.