postgres.git / summary / log / commit / refs
commit d168d0e6a74e9c5936b0fff37a27d75014e1b32e
Author: Noah Misch <noah@leadboat.com>
Date: Thu Dec 18 08:55:17 2014 +0000
First released in: 9.5.0, 9.0.19, 9.1.15, 9.2.10, 9.3.6, 9.4.1
Recognize Makefile line continuations in fetchRegressOpts().
Back-patch to 9.0 (all supported versions). This is mere
future-proofing in the context of the master branch, but commit
f6dc6dd5ba54d52c0733aaafc50da2fbaeabb8b0 requires it of older branches.
src/tools/msvc/vcregress.pl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl
index 51c4685f542..65449b79eaa 100644
--- a/src/tools/msvc/vcregress.pl
+++ b/src/tools/msvc/vcregress.pl
@@ -219,6 +219,8 @@ sub fetchRegressOpts
my $m = <$handle>;
close($handle);
my @opts;
+
+ $m =~ s{\\\r?\n}{}g;
if ($m =~ /^\s*REGRESS_OPTS\s*=(.*)/m)
{
[parent: 6d45ee572d0f]