Use bfd_cache_close, instead of accessing bfd->iostream directly.

This commit is contained in:
Andrew Cagney
2004-02-15 02:24:53 +00:00
parent 832b640263
commit c92c35e706
5 changed files with 14 additions and 5 deletions

View File

@ -433,7 +433,7 @@ ar_end (void)
{
if (obfd)
{
fclose ((FILE *)(obfd->iostream));
bfd_cache_close (obfd);
unlink (bfd_get_filename (obfd));
}
}