Skip to content

Commit 351d9b7

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 9b01a21 commit 351d9b7

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
@@ -29,7 +29,7 @@ sub dumpsyms
2929
sub extract_syms
3030
{
3131
my ($symfile, $def) = @_;
32-
open(F, "<$symfile") || die "Could not open $symfile for $_\n";
32+
open(F, "<$symfile") || die "Could not open $symfile for $_: $!\n";
3333
while (<F>)
3434
{
3535

0 commit comments

Comments
 (0)