diff options
author | Michihiro NAKAJIMA <ggcueroad@gmail.com> | 2014-08-14 17:11:41 +0900 |
---|---|---|
committer | Michihiro NAKAJIMA <ggcueroad@gmail.com> | 2014-08-14 17:11:41 +0900 |
commit | ef2d83a5c9e0c348c3c26f1625fc9e36352bdf18 (patch) | |
tree | 0d5882f993995e1b7853df0e006514db46910c86 /libarchive/archive_read_append_filter.c | |
parent | 1d2939fd3d5cbd08486317ae28f28eff51d8e092 (diff) | |
download | libarchive-ef2d83a5c9e0c348c3c26f1625fc9e36352bdf18.tar.gz |
Add lz4 filter entry to archive_read_append_filter function.
Diffstat (limited to 'libarchive/archive_read_append_filter.c')
-rw-r--r-- | libarchive/archive_read_append_filter.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libarchive/archive_read_append_filter.c b/libarchive/archive_read_append_filter.c index 1505ea60..3a0d4d68 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); |