mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-30 15:56:36 +08:00
2004-04-22 Andrew Cagney <cagney@redhat.com>
* cache.c (bfd_cache_close): Check for a previously closed file.
This commit is contained in:
@ -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>
|
2004-04-22 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* bfd.c (bfd_get_synthetic_symtab): Define.
|
* bfd.c (bfd_get_synthetic_symtab): Define.
|
||||||
|
@ -336,6 +336,10 @@ bfd_cache_close (bfd *abfd)
|
|||||||
if (abfd->iovec != &cache_iovec)
|
if (abfd->iovec != &cache_iovec)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
if (abfd->iostream == NULL)
|
||||||
|
/* Previously closed. */
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
return bfd_cache_delete (abfd);
|
return bfd_cache_delete (abfd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user