From: Daniel Jacobowitz Date: Sun, 24 Oct 2004 18:45:38 +0000 (+0000) Subject: * opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed0403211c2f8f10191898b627cb29e65c612942;p=binutils-gdb.git * opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9fa8fdd7db5..b17e30fc968 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2004-10-24 Daniel Jacobowitz + + * opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY. + 2004-10-24 Hans-Peter Nilsson * mmo.c (File Layout): Correct place of misplaced blurb about diff --git a/bfd/opncls.c b/bfd/opncls.c index 627364c53ba..501c56865c4 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. */