Skip to content

Commit d5fb450

Browse files
committed
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.
1 parent caeae88 commit d5fb450

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/msvc/gendef.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
print ".";
2828
system("dumpbin /symbols /out:symbols.out $_ >NUL")
2929
&& die "Could not call dumpbin";
30-
open(F, "<symbols.out") || die "Could not open symbols.out for $_\n";
30+
open(F, "<symbols.out") || die "Could not open symbols.out for $_: $!\n";
3131
while (<F>)
3232
{
3333
s/\(\)//g;

0 commit comments

Comments
 (0)