8000 Recognize Makefile line continuations in fetchRegressOpts(). · rflynn/postgres@4a48b4c · GitHub
[go: up one dir, main page]

Skip to content

Commit 4a48b4c

Browse files
committed
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 f6dc6dd requires it of older branches.
1 parent ce08325 commit 4a48b4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/msvc/vcregress.pl

Lines changed: 2 additions & 0 deletions
< 387E td data-grid-cell-id="diff-a7ffdd71bd4ea2b5c69a971c666fbfe082620fb7e0408f0a92d7daee31802d63-empty-empty-0" data-selected="false" role="gridcell" style="background-color:var(--bgColor-accent-muted, var(--color-accent-subtle));flex-grow:1" tabindex="-1" valign="top" class="focusable-grid-cell diff-hunk-cell left-side" colSpan="4">
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,8 @@ sub fetchRegressOpts
338338
my $m = <$handle>;
339339
close($handle);
340340
my @opts;
341+
342+
$m =~ s{\\\r?\n}{}g;
341343
if ($m =~ /^\s*REGRESS_OPTS\s*=(.*)/m)
342344
{
343345

0 commit comments

Comments
 (0)
0