diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2017-10-26 10:01:02 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2017-10-26 10:01:02 -0400 |
commit | 74d2c0dbfd94aa5512be3828a793b4c2d43df2d0 (patch) | |
tree | 89a07c3498acade56da9a502fca376c7d685cae9 /src | |
parent | adee9e4e317169463816d005e8bf901333271917 (diff) | |
download | postgresql-74d2c0dbfd94aa5512be3828a793b4c2d43df2d0.tar.gz postgresql-74d2c0dbfd94aa5512be3828a793b4c2d43df2d0.zip |
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.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/msvc/gendef.pl b/src/tools/msvc/gendef.pl index 96122750f19..9b5bc081e16 100644 --- a/src/tools/msvc/gendef.pl +++ b/src/tools/msvc/gendef.pl @@ -32,7 +32,7 @@ sub dumpsyms sub extract_syms { 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>) { |