patches/gdb/6.3/760-debian_vsyscall-bfd-close-result.patch
changeset 96 aa1a9fbd6eb8
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gdb/6.3/760-debian_vsyscall-bfd-close-result.patch	Thu May 17 16:22:51 2007 +0000
     1.3 @@ -0,0 +1,20 @@
     1.4 +2004-10-24  Daniel Jacobowitz  <dan@debian.org>
     1.5 +
     1.6 +	* opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY.
     1.7 +
     1.8 +Index: src/bfd/opncls.c
     1.9 +===================================================================
    1.10 +RCS file: /big/fsf/rsync/src-cvs/src/bfd/opncls.c,v
    1.11 +retrieving revision 1.25
    1.12 +diff -u -p -r1.25 opncls.c
    1.13 +--- src/bfd/opncls.c	10 Oct 2004 13:58:05 -0000	1.25
    1.14 ++++ src/bfd/opncls.c	24 Oct 2004 17:52:53 -0000
    1.15 +@@ -598,7 +598,7 @@ bfd_close (bfd *abfd)
    1.16 +   if (!(abfd->flags & BFD_IN_MEMORY))
    1.17 +     ret = abfd->iovec->bclose (abfd);
    1.18 +   else
    1.19 +-    ret = 0;
    1.20 ++    ret = TRUE;
    1.21 + 
    1.22 +   /* If the file was open for writing and is now executable,
    1.23 +      make it so.  */