aboutsummaryrefslogtreecommitdiff
path: root/bfd/opncls.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-10-24 18:45:38 +0000
committerDaniel Jacobowitz <drow@false.org>2004-10-24 18:45:38 +0000
commited0403211c2f8f10191898b627cb29e65c612942 (patch)
tree1ee9f8f14b112a62b698baf568792806a48323db /bfd/opncls.c
parentf9461bdb4e6e1a16f364911d70cf5247872b5977 (diff)
downloadgdb-ed0403211c2f8f10191898b627cb29e65c612942.zip
gdb-ed0403211c2f8f10191898b627cb29e65c612942.tar.gz
gdb-ed0403211c2f8f10191898b627cb29e65c612942.tar.bz2
* opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY.
Diffstat (limited to 'bfd/opncls.c')
-rw-r--r--bfd/opncls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/opncls.c b/bfd/opncls.c
index 627364c..501c568 100644
--- a/bfd/opncls.c
+++ b/bfd/opncls.c
@@ -598,7 +598,7 @@ bfd_close (bfd *abfd)
if (!(abfd->flags & BFD_IN_MEMORY))
ret = abfd->iovec->bclose (abfd);
else
- ret = 0;
+ ret = TRUE;
/* If the file was open for writing and is now executable,
make it so. */