]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
If we can't stat a file, return the correct ARCHIVE_FAILED (this entry can't
authorkientzle <kientzle@FreeBSD.org>
Sat, 23 Jan 2010 07:54:15 +0000 (07:54 +0000)
committerkientzle <kientzle@FreeBSD.org>
Sat, 23 Jan 2010 07:54:15 +0000 (07:54 +0000)
commit5d107439deae02e9b85a93cfb675e9e8ecf163fa
tree3f3ba9c86a85a746debdf4d565d92e5972f137d4
parent5d7561656a2ec6b5511fb174aaef518d2e64eebe
If we can't stat a file, return the correct ARCHIVE_FAILED (this entry can't
be processed any further) and a suitable error string.
In particular, this improves the error-reporting when cpio -o is
given a nonexistent filename.
lib/libarchive/archive_read_disk_entry_from_file.c