* opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY.
authorDaniel Jacobowitz <drow@false.org>
Sun, 24 Oct 2004 18:45:38 +0000 (18:45 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 24 Oct 2004 18:45:38 +0000 (18:45 +0000)
bfd/ChangeLog
bfd/opncls.c

index 9fa8fdd..b17e30f 100644 (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
index 627364c..501c568 100644 (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.  */