X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=toolchain%2Fgdb%2Fpatches%2F760-debian_vsyscall-bfd-close-result.patch;fp=toolchain%2Fgdb%2Fpatches%2F760-debian_vsyscall-bfd-close-result.patch;h=56002bed0c3c497c444114e8a5fb909ca5eb8d59;hb=e772a8b1a3b5cb5a2d4ad571526f66a2e18485a4;hp=0000000000000000000000000000000000000000;hpb=d1e86b499a00b9183c83caa667697b39c68641a0;p=openwrt-10.03%2F.git diff --git a/toolchain/gdb/patches/760-debian_vsyscall-bfd-close-result.patch b/toolchain/gdb/patches/760-debian_vsyscall-bfd-close-result.patch new file mode 100644 index 000000000..56002bed0 --- /dev/null +++ b/toolchain/gdb/patches/760-debian_vsyscall-bfd-close-result.patch @@ -0,0 +1,20 @@ +2004-10-24 Daniel Jacobowitz + + * opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY. + +Index: src/bfd/opncls.c +=================================================================== +RCS file: /big/fsf/rsync/src-cvs/src/bfd/opncls.c,v +retrieving revision 1.25 +diff -u -p -r1.25 opncls.c +--- src/bfd/opncls.c 10 Oct 2004 13:58:05 -0000 1.25 ++++ src/bfd/opncls.c 24 Oct 2004 17:52:53 -0000 +@@ -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. */