* opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY.

This commit is contained in:
Daniel Jacobowitz 2004-10-24 18:45:38 +00:00
parent f9461bdb4e
commit ed0403211c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-10-24 Daniel Jacobowitz <dan@debian.org>
* opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY.
2004-10-24 Hans-Peter Nilsson <hp@bitrange.com>
* mmo.c (File Layout): Correct place of misplaced blurb about

View File

@ -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. */