xz: Remove the commented-out FORMAT_GZIP, gzip, .gz, and .tgz.

This commit is contained in:
Lasse Collin 2022-10-19 22:32:51 +03:00
parent 3176f992c5
commit 731db13e6f
3 changed files with 0 additions and 12 deletions

View File

@ -415,8 +415,6 @@ parse_real(args_info *args, int argc, char **argv)
#ifdef HAVE_LZIP_DECODER
{ "lzip", FORMAT_LZIP },
#endif
// { "gzip", FORMAT_GZIP },
// { "gz", FORMAT_GZIP },
{ "raw", FORMAT_RAW },
};

View File

@ -26,7 +26,6 @@ enum format_type {
#ifdef HAVE_LZIP_DECODER
FORMAT_LZIP,
#endif
// HEADER_GZIP,
FORMAT_RAW,
};

View File

@ -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;