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-Tag: csl-arm-2004-q3d~180 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed0403211c2f8f10191898b627cb29e65c612942;p=external%2Fbinutils.git * opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9fa8fdd..b17e30f 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 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. */