patches/gdb/6.3/760-debian_vsyscall-bfd-close-result.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu May 17 16:22:51 2007 +0000 (2007-05-17)
changeset 96 aa1a9fbd6eb8
permissions -rw-r--r--
Debug facilities:
- add a framework to easily add new ones
- add gdb as a first debug facility
- add patches for gdb
After the kernel checked its installed headers, clean up the mess of .checked.* files.
Reorder scripts/crosstool.sh:
- dump the configuration early
- renice early
- get info about build system early, when setting up the environment
- when in cross or native, the host tools are those of the build system, and only in this case
- elapsed time calculations moved to scripts/functions
Remove handling of the color: it's gone once and for all.
Update tools/addToolVersion.sh:
- handle debug facilities
- commonalise some code
- remove dead tools (cygwin, tcc)
Point to my address for bug reports.
yann@96
     1
2004-10-24  Daniel Jacobowitz  <dan@debian.org>
yann@96
     2
yann@96
     3
	* opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY.
yann@96
     4
yann@96
     5
Index: src/bfd/opncls.c
yann@96
     6
===================================================================
yann@96
     7
RCS file: /big/fsf/rsync/src-cvs/src/bfd/opncls.c,v
yann@96
     8
retrieving revision 1.25
yann@96
     9
diff -u -p -r1.25 opncls.c
yann@96
    10
--- src/bfd/opncls.c	10 Oct 2004 13:58:05 -0000	1.25
yann@96
    11
+++ src/bfd/opncls.c	24 Oct 2004 17:52:53 -0000
yann@96
    12
@@ -598,7 +598,7 @@ bfd_close (bfd *abfd)
yann@96
    13
   if (!(abfd->flags & BFD_IN_MEMORY))
yann@96
    14
     ret = abfd->iovec->bclose (abfd);
yann@96
    15
   else
yann@96
    16
-    ret = 0;
yann@96
    17
+    ret = TRUE;
yann@96
    18
 
yann@96
    19
   /* If the file was open for writing and is now executable,
yann@96
    20
      make it so.  */