From: Sergey Poznyakoff Date: Mon, 15 Jan 2024 20:52:27 +0000 (+0200) Subject: Recognize suffixes .z (gzip) and .tzo (lzop) X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=6ba24c31c6874ba59da880c4c858b749c1cc1417;p=thirdparty%2Ftar.git Recognize suffixes .z (gzip) and .tzo (lzop) --- diff --git a/src/suffix.c b/src/suffix.c index 51490b2d..6128ec0b 100644 --- a/src/suffix.c +++ b/src/suffix.c @@ -31,6 +31,7 @@ static struct compression_suffix compression_suffixes[] = { #define S(s,p) #s, sizeof (#s) - 1, __CAT2__(p,_PROGRAM) { "tar", 3, NULL }, { S(gz, GZIP) }, + { S(z, GZIP) }, { S(tgz, GZIP) }, { S(taz, GZIP) }, { S(Z, COMPRESS) }, @@ -43,6 +44,7 @@ static struct compression_suffix compression_suffixes[] = { { S(lzma, LZMA) }, { S(tlz, LZMA) }, { S(lzo, LZOP) }, + { S(tzo, LZOP) }, { S(xz, XZ) }, { S(txz, XZ) }, /* Slackware */ { S(zst, ZSTD) },