Content-Length: 255923 | pFad | http://github.com/postgrespro/postgres/commit/863fa43e32b02963f240864245c6c922f619459f

60 Suppress another CR in program output · postgrespro/postgres@863fa43 · GitHub
Skip to content

Commit 863fa43

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 5daf682 commit 863fa43

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
@@ -560,6 +560,7 @@ sub check_pg_config
560560
\$stdout, '2>', \$stderr
561561
or die "could not execute pg_config";
562562
chomp($stdout);
563+
$stdout =~ s/\r$//;
563564

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

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/863fa43e32b02963f240864245c6c922f619459f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy