From ed0403211c2f8f10191898b627cb29e65c612942 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sun, 24 Oct 2004 18:45:38 +0000 Subject: [PATCH] * opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY. --- bfd/ChangeLog | 4 ++++ bfd/opncls.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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. */ -- 2.7.4