OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e1eac9
)
2004-04-22 Andrew Cagney <cagney@redhat.com>
author
cagney
<cagney>
Thu, 22 Apr 2004 16:17:31 +0000
(16:17 +0000)
committer
cagney
<cagney>
Thu, 22 Apr 2004 16:17:31 +0000
(16:17 +0000)
* cache.c (bfd_cache_close): Check for a previously closed file.
bfd/ChangeLog
patch
|
blob
|
history
bfd/cache.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index
8ab0844
..
904f0b8
100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,7
@@
+2004-04-22 Andrew Cagney <cagney@redhat.com>
+
+ * cache.c (bfd_cache_close): Check for a previously closed file.
+
2004-04-22 Jakub Jelinek <jakub@redhat.com>
* bfd.c (bfd_get_synthetic_symtab): Define.
diff --git
a/bfd/cache.c
b/bfd/cache.c
index
9146c05
..
0586061
100644
(file)
--- a/
bfd/cache.c
+++ b/
bfd/cache.c
@@
-336,6
+336,10
@@
bfd_cache_close (bfd *abfd)
if (abfd->iovec != &cache_iovec)
return TRUE;
+ if (abfd->iostream == NULL)
+ /* Previously closed. */
+ return TRUE;
+
return bfd_cache_delete (abfd);
}