patches/gdb/6.3/760-debian_vsyscall-bfd-close-result.patch
changeset 330 447b203edc2e
parent 329 419d959441ed
child 331 0c05f9ea3254
     1.1 --- a/patches/gdb/6.3/760-debian_vsyscall-bfd-close-result.patch	Tue Aug 14 19:32:22 2007 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,20 +0,0 @@
     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.  */