projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* cache.c (bfd_cache_lookup_worker): Don't abort on failing to
[deliverable/binutils-gdb.git]
/
bfd
/
trad-core.c
diff --git
a/bfd/trad-core.c
b/bfd/trad-core.c
index defad69f4677e95c55c0aeb38a82f41e0827a25c..c958683344a6d014fb4442a46517968fc51eeb8d 100644
(file)
--- a/
bfd/trad-core.c
+++ b/
bfd/trad-core.c
@@
-112,6
+112,8
@@
trad_unix_core_file_p (abfd)
FILE *stream = bfd_cache_lookup (abfd);
struct stat statbuf;
+ if (stream == NULL)
+ return 0;
if (fstat (fileno (stream), &statbuf) < 0)
{
bfd_set_error (bfd_error_system_call);
This page took
0.03445 seconds
and
4
git commands to generate.