From: Michihiro NAKAJIMA Date: Thu, 14 Aug 2014 08:11:41 +0000 (+0900) Subject: Add lz4 filter entry to archive_read_append_filter function. X-Git-Tag: v3.1.900a~246 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef2d83a5c9e0c348c3c26f1625fc9e36352bdf18;p=thirdparty%2Flibarchive.git Add lz4 filter entry to archive_read_append_filter function. --- diff --git a/libarchive/archive_read_append_filter.c b/libarchive/archive_read_append_filter.c index 1505ea60a..3a0d4d68d 100644 --- a/libarchive/archive_read_append_filter.c +++ b/libarchive/archive_read_append_filter.c @@ -85,6 +85,10 @@ archive_read_append_filter(struct archive *_a, int code) strcpy(str, "rpm"); r1 = archive_read_support_filter_rpm(_a); break; + case ARCHIVE_FILTER_LZ4: + strcpy(str, "lz4"); + r1 = archive_read_support_filter_lz4(_a); + break; case ARCHIVE_FILTER_LZIP: strcpy(str, "lzip"); r1 = archive_read_support_filter_lzip(_a);