summaryrefslogtreecommitdiff
path: root/libdw/dwarf_getlocation.c
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2014-09-10 22:25:35 +0200
committerPetr Machata <pmachata@redhat.com>2014-09-11 19:45:11 +0200
commit237188e4d764598300a577e08fd872339812fb2c (patch)
treef3b76afe694593cb4eb76fd8235554cfa24fdeef /libdw/dwarf_getlocation.c
parent0375056af003d7676fb852e09782a985f3a52b1a (diff)
downloadelfutils-237188e4d764598300a577e08fd872339812fb2c.tar.gz
elf_begin sets elf_errno for cases that the file is completely unreadable
- The problem this is trying to solve can be seen for example thus: $ eu-readelf -a / eu-readelf: failed reading '/': (null) With the fix we see a proper error number and get a reasonable error message: $ eu-readelf -a / eu-readelf: failed reading '/': invalid file descriptor Signed-off-by: Petr Machata <pmachata@redhat.com>
Diffstat (limited to 'libdw/dwarf_getlocation.c')
0 files changed, 0 insertions, 0 deletions