summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2017-10-26 10:10:37 -0400
committerAndrew Dunstan <andrew@dunslane.net>2017-10-26 10:16:35 -0400
commit0cf721244a819cbd67b2bc0a8c8a97adcb53944e (patch)
tree4cbcf4ca49a63fe567745aadd39ddad23fd96a1b /src
parent6dd7a12075c208e1af6d3b38e65c0003a0921509 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/tools/msvc/gendef.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/msvc/gendef.pl b/src/tools/msvc/gendef.pl
index 8ef0422df9d..247cff0cac3 100644
--- a/src/tools/msvc/gendef.pl
+++ b/src/tools/msvc/gendef.pl
@@ -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;