postgres.git / summary / log / commit / refs

commit    b60f9afcf4bfe6b1ff73b49b9bab20dde356c7f4
Author:   Andrew Dunstan <andrew@dunslane.net>
Date:     Mon Sep 30 19:48:54 2019 +0000
First released in: 13.0, 11.6, 12.0

    Suppress another CR in program output
    
    This one was exposed by a12c75a10.
    
    Backpatch to release 11 where check_pg_config was introduced.


src/test/perl/TestLib.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/perl/TestLib.pm b/src/test/perl/TestLib.pm index d2a9828dc62..4c3f6084943 100644 --- a/src/test/perl/TestLib.pm +++ b/src/test/perl/TestLib.pm @@ -388,6 +388,7 @@ sub check_pg_config \$stdout, '2>', \$stderr or die "could not execute pg_config"; chomp($stdout); + $stdout =~ s/\r$//; open my $pg_config_h, '<', "$stdout/pg_config.h" or die "$!"; my $match = (grep { /^$regexp/ } <$pg_config_h>); [parent: ca0b3828504a]