projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Made sure that every call to bfd_read, bfd_write, and bfd_seek
[deliverable/binutils-gdb.git]
/
bfd
/
hppabsd-core.c
diff --git
a/bfd/hppabsd-core.c
b/bfd/hppabsd-core.c
index 96b82d04874a605084972b58fef10390d7b7a426..bc99ff5f98c6877efee8d42c303147bc7a69257b 100644
(file)
--- a/
bfd/hppabsd-core.c
+++ b/
bfd/hppabsd-core.c
@@
-130,7
+130,8
@@
hppabsd_core_core_file_p (abfd)
val = bfd_read ((void *) &u, 1, sizeof u, abfd);
if (val != sizeof u)
{
- bfd_set_error (bfd_error_wrong_format);
+ if (bfd_get_error () != bfd_error_system_call)
+ bfd_set_error (bfd_error_wrong_format);
return NULL;
}
This page took
0.022715 seconds
and
4
git commands to generate.