diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-15 02:24:53 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-15 02:24:53 +0000 |
commit | c92c35e7061ef1444fb08d73f8618d2dac543ee3 (patch) | |
tree | 13104b431dd3295b87fbaa0f0544ef6957ce5766 /binutils/ar.c | |
parent | 832b6402635e47707c1838a5ee300ccfb70b2d69 (diff) | |
download | gdb-c92c35e7061ef1444fb08d73f8618d2dac543ee3.zip gdb-c92c35e7061ef1444fb08d73f8618d2dac543ee3.tar.gz gdb-c92c35e7061ef1444fb08d73f8618d2dac543ee3.tar.bz2 |
Use bfd_cache_close, instead of accessing bfd->iostream directly.
Diffstat (limited to 'binutils/ar.c')
-rw-r--r-- | binutils/ar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/ar.c b/binutils/ar.c index 5771427..b85d62e 100644 --- a/binutils/ar.c +++ b/binutils/ar.c @@ -324,8 +324,8 @@ remove_output (void) { if (output_filename != NULL) { - if (output_bfd != NULL && output_bfd->iostream != NULL) - fclose ((FILE *) (output_bfd->iostream)); + if (output_bfd != NULL) + bfd_cache_close (output_bfd); if (output_file != NULL) fclose (output_file); unlink (output_filename); |