diff options
author | Alan Modra <amodra@bigpond.net.au> | 2013-01-14 13:14:06 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2013-01-14 13:14:06 +0000 |
commit | a8869f6c09c81263112ba80ef3f91a3bbe2eb91f (patch) | |
tree | 2f25e444b3901f77027b165a4e79cac076c6b33c /bfd/cache.c | |
parent | 33e0a2a83803730c349902ca99f1050b6e737ba2 (diff) | |
download | binutils-redhat-a8869f6c09c81263112ba80ef3f91a3bbe2eb91f.tar.gz |
PR binutils/14813
* bfdio.c (struct bfd_iovec <bclose>): Revert 2012-11-06.
(memory_bclose): Likewise. Return 0 on success.
* cache.c (cache_bclose): Likewise.
* opncls.c (opncls_bclose, bfd_close): Likewise.
* vms-lib.c (vms_lib_bclose): Likewise.
* libbfd.h: Regenerate.
Diffstat (limited to 'bfd/cache.c')
-rw-r--r-- | bfd/cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/cache.c b/bfd/cache.c index b1dcd5a745..52268162c2 100644 --- a/bfd/cache.c +++ b/bfd/cache.c @@ -359,10 +359,10 @@ cache_bwrite (struct bfd *abfd, const void *where, file_ptr nbytes) return nwrite; } -static bfd_boolean +static int cache_bclose (struct bfd *abfd) { - return bfd_cache_close (abfd); + return bfd_cache_close (abfd) - 1; } static int |