summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/archive.h.in
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2007-03-11 10:29:52 +0000
committerkientzle <kientzle@FreeBSD.org>2007-03-11 10:29:52 +0000
commitc533ace5debb7bd4b941d9cb5ab620dc140cf83f (patch)
tree2deb823f3313d605e925a0e66c615bbb45f0f5fd /lib/libarchive/archive.h.in
parent34561352cbc954916132a5235b0cfbca17080003 (diff)
downloadFreeBSD-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.h.in')
-rw-r--r--lib/libarchive/archive.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libarchive/archive.h.in b/lib/libarchive/archive.h.in
index 6ba6e9e..5282418 100644
--- a/lib/libarchive/archive.h.in
+++ b/lib/libarchive/archive.h.in
@@ -92,6 +92,8 @@ struct archive_entry;
#define ARCHIVE_OK 0 /* Operation was successful. */
#define ARCHIVE_RETRY (-10) /* Retry might succeed. */
#define ARCHIVE_WARN (-20) /* Partial success. */
+/* For example, if write_header "fails", then you can't push data. */
+#define ARCHIVE_FAILED (-25) /* Current operation cannot complete. */
#define ARCHIVE_FATAL (-30) /* No more operations are possible. */
/*
OpenPOWER on IntegriCloud