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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"