diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-10-19 22:32:51 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-11-09 14:31:10 +0200 |
commit | 731db13e6fa3ad3e3fc786c0ccf6eac4cce6865f (patch) | |
tree | 983272b53e1ab75708969ac423df56ed8e4dfd4d /src/xz/suffix.c | |
parent | xz: Add .lz (lzip) decompression support. (diff) | |
download | xz-731db13e6fa3ad3e3fc786c0ccf6eac4cce6865f.tar.xz |
xz: Remove the commented-out FORMAT_GZIP, gzip, .gz, and .tgz.
Diffstat (limited to 'src/xz/suffix.c')
-rw-r--r-- | src/xz/suffix.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/xz/suffix.c b/src/xz/suffix.c index 55e4ee2f..6bb35d42 100644 --- a/src/xz/suffix.c +++ b/src/xz/suffix.c @@ -123,8 +123,6 @@ uncompressed_name(const char *src_name, const size_t src_len) #ifdef HAVE_LZIP_DECODER { ".lz", "" }, #endif - // { ".gz", "" }, - // { ".tgz", ".tar" }, }; const char *new_suffix = ""; @@ -220,12 +218,6 @@ compressed_name(const char *src_name, size_t src_len) */ NULL #endif -/* - }, { - ".gz", - ".tgz", - NULL -*/ }, { // --format=raw requires specifying the suffix // manually or using stdout. @@ -319,7 +311,6 @@ compressed_name(const char *src_name, size_t src_len) /* ".tlz", // .tar.lz */ - // ".tgz", }; suffix = tar_suffixes[format]; suffix_len = 4; |