cvs commit: src/lib/libarchive Makefile archive_write_disk.c

Tim Kientzle kientzle at FreeBSD.org
Tue Mar 13 06:04:24 UTC 2007


kientzle    2007-03-13 06:04:24 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       Makefile archive_write_disk.c 
  Log:
  When ARCHIVE_EXTRACT_UNLINK is requested:
    * Only try to remove the existing item if we're not restoring a directory.
    * If unlink fails, try rmdir next.
  This should fix the broken --unlink option in bsdtar.
  
  Thanks again to: Kris Kennaway, for beating up bsdtar on pointyhat.
  
  Revision  Changes    Path
  1.61      +1 -1      src/lib/libarchive/Makefile
  1.3       +10 -4     src/lib/libarchive/archive_write_disk.c


More information about the cvs-src mailing list