mirror of https://github.com/postgres/postgres
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.
This commit is contained in:
parent
caeae886e2
commit
d5fb450aab
|
@ -27,7 +27,7 @@ while (<$ARGV[0]/*.obj>)
|
|||
print ".";
|
||||
system("dumpbin /symbols /out:symbols.out $_ >NUL")
|
||||
&& die "Could not call dumpbin";
|
||||
open(F, "<symbols.out") || die "Could not open symbols.out for $_\n";
|
||||
open(F, "<symbols.out") || die "Could not open symbols.out for $_: $!\n";
|
||||
while (<F>)
|
||||
{
|
||||
s/\(\)//g;
|
||||
|
|
Loading…
Reference in New Issue