aboutsummaryrefslogtreecommitdiff
path: root/binutils/arsup.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-15 02:24:53 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-15 02:24:53 +0000
commitc92c35e7061ef1444fb08d73f8618d2dac543ee3 (patch)
tree13104b431dd3295b87fbaa0f0544ef6957ce5766 /binutils/arsup.c
parent832b6402635e47707c1838a5ee300ccfb70b2d69 (diff)
downloadgdb-c92c35e7061ef1444fb08d73f8618d2dac543ee3.zip
gdb-c92c35e7061ef1444fb08d73f8618d2dac543ee3.tar.gz
gdb-c92c35e7061ef1444fb08d73f8618d2dac543ee3.tar.bz2
Use bfd_cache_close, instead of accessing bfd->iostream directly.
Diffstat (limited to 'binutils/arsup.c')
-rw-r--r--binutils/arsup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/arsup.c b/binutils/arsup.c
index 676a6bc..a621bf9 100644
--- a/binutils/arsup.c
+++ b/binutils/arsup.c
@@ -433,7 +433,7 @@ ar_end (void)
{
if (obfd)
{
- fclose ((FILE *)(obfd->iostream));
+ bfd_cache_close (obfd);
unlink (bfd_get_filename (obfd));
}
}