Commit 74d2c0db authored by Andrew Dunstan's avatar Andrew Dunstan

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.
parent adee9e4e
...@@ -32,7 +32,7 @@ sub dumpsyms ...@@ -32,7 +32,7 @@ sub dumpsyms
sub extract_syms sub extract_syms
{ {
my ($symfile, $def) = @_; my ($symfile, $def) = @_;
open(my $f, '<', $symfile) || die "Could not open $symfile for $_\n"; open(my $f, '<', $symfile) || die "Could not open $symfile for $_: $!\n";
while (<$f>) while (<$f>)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment