mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-30 03:25:20 +02:00
5a7eec1ada
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1166 3c298f89-4303-0410-b956-a3cf2f4a3e73
21 lines
648 B
Diff
21 lines
648 B
Diff
2004-10-24 Daniel Jacobowitz <dan@debian.org>
|
|
|
|
* 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. */
|