[PATCH] Stop using zic’s -p option.

From: Paul Eggert <eggert(at)cs(dot)ucla(dot)edu>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: Paul Eggert <eggert(at)cs(dot)ucla(dot)edu>
Subject: [PATCH] Stop using zic’s -p option.
Date: 2020-06-21 21:18:55
Message-ID: 20200621211855.6211-1-eggert@cs.ucla.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

‘zic -p’ is obsolescent and is incompatible with ‘zic -b slim’.
* src/tools/msvc/Install.pm (GenerateTimezoneFiles):
Omit use of zic’s -p option.
---
src/tools/msvc/Install.pm | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/tools/msvc/Install.pm b/src/tools/msvc/Install.pm
index 9bf111c41e..31659fc299 100644
--- a/src/tools/msvc/Install.pm
+++ b/src/tools/msvc/Install.pm
@@ -366,16 +366,11 @@ sub GenerateTimezoneFiles
|| die "Could not find TZDATAFILES line in timezone makefile\n";
my @tzfiles = split /\s+/, $1;

- $mf =~ /^POSIXRULES\s*:?=\s*(.*)$/m
- || die "Could not find POSIXRULES line in timezone makefile\n";
- my $posixrules = $1;
- $posixrules =~ s/\s+//g;
-
print "Generating timezone files...";

my @args = (
- "$conf/zic/zic", '-d', "$target/share/timezone", '-p',
- "$posixrules", '-b', 'slim');
+ "$conf/zic/zic", '-d', "$target/share/timezone",
+ '-b', 'slim');
foreach (@tzfiles)
{
my $tzfile = $_;
--
2.25.4

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Hanna Habte 2020-06-21 22:36:34 Import/Export Issue on Mac
Previous Message Julien Rouhaud 2020-06-21 18:16:53 Re: BUG #16502: EXPLAIN JSON format adds extra quotes around index names