Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Silence warning from modern perl about unescaped braces
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Aug 2017 19:07:21 +0000 (15:07 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Aug 2017 19:07:21 +0000 (15:07 -0400)
Back-patch commit 76a1c97bf21c301f61bb41345e0cdd0d365b2086 into
the older branches (9.5 and before).  This is needed because perl
5.26 and later treats the case as an error not just a warning.

Original patch by Andrew Dunstan, need for back-patch noted by
Ashutosh Sharma

Discussion: https://postgr.es/m/CAE9k0PkfNcmj9pA7Yx4qQ=K=3aY4TuiRhp7KYpayDWm9MYsnjg@mail.gmail.com

src/tools/msvc/Install.pm

index 88c88c88be5112fc3fa66e500a8b13e123707372..bd657b90963361fff0409e6398a426cbbc3e4c37 100644 (file)
@@ -190,7 +190,7 @@ sub CopySolutionOutput
    my $conf   = shift;
    my $target = shift;
    my $rem =
-     qr{Project\("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}"\) = "([^"]+)"};
+     qr{Project\("\{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942\}"\) = "([^"]+)"};
 
    my $sln = read_file("pgsql.sln") || croak "Could not open pgsql.sln\n";