disable support for things we don't have (yet) explicitly (fix #3)
[openwrt.git] / toolchain / gdb / patches / 760-debian_vsyscall-bfd-close-result.patch
1 2004-10-24 Daniel Jacobowitz <dan@debian.org>
2
3 * opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY.
4
5 Index: src/bfd/opncls.c
6 ===================================================================
7 RCS file: /big/fsf/rsync/src-cvs/src/bfd/opncls.c,v
8 retrieving revision 1.25
9 diff -u -p -r1.25 opncls.c
10 --- src/bfd/opncls.c 10 Oct 2004 13:58:05 -0000 1.25
11 +++ src/bfd/opncls.c 24 Oct 2004 17:52:53 -0000
12 @@ -598,7 +598,7 @@ bfd_close (bfd *abfd)
13 if (!(abfd->flags & BFD_IN_MEMORY))
14 ret = abfd->iovec->bclose (abfd);
15 else
16 - ret = 0;
17 + ret = TRUE;
18
19 /* If the file was open for writing and is now executable,
20 make it so. */
This page took 0.042905 seconds and 5 git commands to generate.