760-debian_vsyscall-bfd-close-result.patch 648 B

1234567891011121314151617181920
  1. 2004-10-24 Daniel Jacobowitz <dan@debian.org>
  2. * opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY.
  3. Index: src/bfd/opncls.c
  4. ===================================================================
  5. RCS file: /big/fsf/rsync/src-cvs/src/bfd/opncls.c,v
  6. retrieving revision 1.25
  7. diff -u -p -r1.25 opncls.c
  8. --- src/bfd/opncls.c 10 Oct 2004 13:58:05 -0000 1.25
  9. +++ src/bfd/opncls.c 24 Oct 2004 17:52:53 -0000
  10. @@ -598,7 +598,7 @@ bfd_close (bfd *abfd)
  11. if (!(abfd->flags & BFD_IN_MEMORY))
  12. ret = abfd->iovec->bclose (abfd);
  13. else
  14. - ret = 0;
  15. + ret = TRUE;
  16. /* If the file was open for writing and is now executable,
  17. make it so. */