summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorTom Lane2020-10-17 01:40:16 +0000
committerTom Lane2020-10-17 01:40:16 +0000
commit4a2528bfac025dc1640c520c6fca7c22e5143aee (patch)
tree498ad1719104a0253e429b1caf83c586b507fcfe /src/tools
parent1eb2d7e3ea8ef683d29b4f0a81b6f21662edd1e7 (diff)
Sync our copy of the timezone library with IANA release tzcode2020c.
This changes zic's default output format from "-b fat" to "-b slim". We were already using "slim" in v13/HEAD, so those branches drop the explicit -b switch in the Makefiles. Instead, add an explicit "-b fat" in v12 and before, so that we don't change the output file format in those branches. (This is perhaps excessively conservative, but we decided not to do so in a12079109, and I'll stick with that.) Other non-cosmetic changes are to drop support for zic's long-obsolete "-y" switch, and to ensure that strftime() does not change errno unless it fails. As usual with tzcode changes, back-patch to all supported branches.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/msvc/Install.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/msvc/Install.pm b/src/tools/msvc/Install.pm
index 97f543044e9..c38c9ca9a4e 100644
--- a/src/tools/msvc/Install.pm
+++ b/src/tools/msvc/Install.pm
@@ -413,7 +413,8 @@ sub GenerateTimezoneFiles
print "Generating timezone files...";
my @args =
- ("$conf/zic/zic", '-d', "$target/share/timezone", '-p', "$posixrules");
+ ("$conf/zic/zic", '-d', "$target/share/timezone",
+ '-p', "$posixrules", '-b', 'fat');
foreach (@tzfiles)
{
my $tzfile = $_;