postgres.git / summary / log / commit / refs

commit    ea8480a2493e396715e2fa0709c137b513a680aa
Author:   Andrew Dunstan <andrew@dunslane.net>
Date:     Thu Oct 26 14:10:37 2017 +0000
First released in: 11.0, 9.2.24, 9.3.20, 9.4.15, 9.5.10, 9.6.6, 10.1

    Improve gendef.pl diagnostic on failure to open sym file
    
    There have been numerous buildfarm failures but the diagnostic is
    currently silent about the reason for failure to open the file. Let's
    see if we can get to the bottom of it.
    
    Backpatch to all live branches.


src/tools/msvc/gendef.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/msvc/gendef.pl b/src/tools/msvc/gendef.pl index 8ccaab35519..04b0bbe6c79 100644 --- a/src/tools/msvc/gendef.pl +++ b/src/tools/msvc/gendef.pl @@ -29,7 +29,7 @@ sub dumpsyms sub extract_syms { my ($symfile, $def) = @_; - open(F, "<$symfile") || die "Could not open $symfile for $_\n"; + open(F, "<$symfile") || die "Could not open $symfile for $_: $!\n"; while (<F>) { [parent: 41753604b3d0]