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

Commitd4e59c5

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 parent5788a56 commitd4e59c5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎src/tools/msvc/Install.pm

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,13 +380,20 @@ sub GenerateTimezoneFiles
380380
my$conf =shift;
381381
my$mf = read_file("src/timezone/Makefile");
382382
$mf =~s{\\\r?\n}{}g;
383+
383384
$mf =~/^TZDATA\s*:?=\s*(.*)$/m
384385
||die"Could not find TZDATA line in timezone makefile\n";
385386
my@tzfiles =split /\s+/,$1;
386387

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

389-
my@args = ("$conf/zic/zic",'-d',"$target/share/timezone");
395+
my@args = ("$conf/zic/zic",'-d',"$target/share/timezone",
396+
'-p',"$posixrules");
390397
foreach (@tzfiles)
391398
{
392399
my$tzfile =$_;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp