diff options
author | kientzle <kientzle@FreeBSD.org> | 2007-03-11 10:29:52 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2007-03-11 10:29:52 +0000 |
commit | c533ace5debb7bd4b941d9cb5ab620dc140cf83f (patch) | |
tree | 2deb823f3313d605e925a0e66c615bbb45f0f5fd /lib/libarchive/archive_write.c | |
parent | 34561352cbc954916132a5235b0cfbca17080003 (diff) | |
download | FreeBSD-src-c533ace5debb7bd4b941d9cb5ab620dc140cf83f.zip FreeBSD-src-c533ace5debb7bd4b941d9cb5ab620dc140cf83f.tar.gz |
Libarchive 2.0.23:
* The ACL formatter was mis-formatting entries which had a
user/group ID but no name. Make the parser tolerant of
these, so that old archives can be correctly restored;
fix the formatter to generate correct entries.
* Fix overwrite detection by introducing a new "FAILED" return
code that indicates the current entry cannot be continued
but the archive as a whole is still sound.
* Header cleanup: Remove some unused headers, add some that
are required with new Linux systems.
Diffstat (limited to 'lib/libarchive/archive_write.c')
-rw-r--r-- | lib/libarchive/archive_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/archive_write.c b/lib/libarchive/archive_write.c index e68b0b8..ee1a9db 100644 --- a/lib/libarchive/archive_write.c +++ b/lib/libarchive/archive_write.c @@ -306,7 +306,7 @@ _archive_write_header(struct archive *_a, struct archive_entry *entry) archive_entry_ino(entry) == a->skip_file_ino) { archive_set_error(&a->archive, 0, "Can't add archive to itself"); - return (ARCHIVE_WARN); + return (ARCHIVE_FAILED); } /* Format and write header. */ |