From: Tim Kientzle Date: Sun, 29 Nov 2009 20:16:17 +0000 (-0500) Subject: Failure to decompress a single entry is not a FATAL problem (the entire archive is... X-Git-Tag: v2.8.0~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=285a656662d2a998f6e94a80375e060159dbcaa6;p=thirdparty%2Flibarchive.git Failure to decompress a single entry is not a FATAL problem (the entire archive is not dead), it's merely a FAILED problem (this entry is dead, but the rest of the archive may be readable). SVN-Revision: 1679 --- diff --git a/libarchive/archive_read_support_format_iso9660.c b/libarchive/archive_read_support_format_iso9660.c index 3d72aff3d..2cdc7c6b3 100644 --- a/libarchive/archive_read_support_format_iso9660.c +++ b/libarchive/archive_read_support_format_iso9660.c @@ -1577,7 +1577,7 @@ zisofs_read_data(struct archive_read *a, (void)offset;/* UNUSED */ archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT, "zisofs is not supported on this platform."); - return (ARCHIVE_FATAL); + return (ARCHIVE_FAILED); } #endif /* HAVE_ZLIB_H */