diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-08-02 15:07:20 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-08-02 15:07:20 -0400 |
commit | 8892170e7ffde7b2635481ca42e6d95461761f93 (patch) | |
tree | e1d15b9b2477f6df7526279584fe31752009d6d2 | |
parent | a282d1871c9b35045290315403335719b80e3ac1 (diff) | |
download | postgresql-8892170e7ffde7b2635481ca42e6d95461761f93.tar.gz postgresql-8892170e7ffde7b2635481ca42e6d95461761f93.zip |
Silence warning from modern perl about unescaped braces
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
-rw-r--r-- | src/tools/msvc/Install.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/msvc/Install.pm b/src/tools/msvc/Install.pm index 43892a5848c..a4536d74adb 100644 --- a/src/tools/msvc/Install.pm +++ b/src/tools/msvc/Install.pm @@ -220,7 +220,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"; |