Skip to content

Commit b60f9af

Browse files
committed
Suppress another CR in program output
This one was exposed by a12c75a. Backpatch to release 11 where check_pg_config was introduced.
1 parent ca0b382 commit b60f9af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/perl/TestLib.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ sub check_pg_config
388388
\$stdout, '2>', \$stderr
389389
or die "could not execute pg_config";
390390
chomp($stdout);
391+
$stdout =~ s/\r$//;
391392

392393
open my $pg_config_h, '<', "$stdout/pg_config.h" or die "$!";
393394
my $match = (grep { /^$regexp/ } <$pg_config_h>);

0 commit comments

Comments
 (0)