Date: Tue, 13 Mar 2007 06:04:24 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libarchive Makefile archive_write_disk.c Message-ID: <200703130604.l2D64Oj1044109@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703130604.l2D64Oj1044109>
