Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5971acc

Browse files
committed
Install the "posixrules" timezone link in MSVC builds.
Somehow, we'd missed ever doing this. The consequences aren't toosevere: basically, the timezone library would fall back on its hardwirednotion of the DST transition dates to use for a POSIX-style zone name,rather than obeying US/Eastern which is the intended behavior. The neteffect would only be to obey current US DST law further back than itought to apply; so it's not real surprising that nobody noticed.David Rowley, per report from Amit KapilaDiscussion:https://postgr.es/m/CAA4eK1LC7CaNhRAQ__C3ht1JVrPzaAXXhEJRnR5L6bfYHiLmWw@mail.gmail.com
1 parent0798730 commit5971acc

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

‎src/tools/msvc/Install.pm

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,15 +315,20 @@ sub GenerateTimezoneFiles
315315
my$conf =shift;
316316
my$mf = read_file("src/timezone/Makefile");
317317
$mf =~s{\\\s*[\r\n]+}{}mg;
318+
318319
$mf =~/^TZDATA\s*:?=\s*(.*)$/m
319320
||die"Could not find TZDATA line in timezone makefile\n";
320321
my@tzfiles =split /\s+/,$1;
321322

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

324-
my@args = ("$conf/zic/zic",
325-
'-d',
326-
"$target/share/timezone");
330+
my@args = ("$conf/zic/zic",'-d',"$target/share/timezone",
331+
'-p',"$posixrules");
327332
foreach (@tzfiles)
328333
{
329334
my$tzfile =$_;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp