libarchive: open_zipped() does not need to check extensions for e.g. gzip
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 10 Jan 2014 13:06:57 +0000 (14:06 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 10 Jan 2014 13:12:11 +0000 (14:12 +0100)
commit7c47b560a8fc97956dd8132bd7f1863d83c19866
treee46d74a3c921813572a88819801bf8c2e3c9790d
parent9b76f895bcd50c97df66c7e0192e045245eb519f
libarchive: open_zipped() does not need to check extensions for e.g. gzip

We only need to check for signature-less extensions,
currently only .lzma. The rest can be happily autodetected.

This fixes "zcat FILE_WITHOUT_GZ_EXT" case, among others.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/libarchive/open_transformer.c