Add short tar's extensions .tgz (.tar.gz), .txz (.tar.xz), .tzst (.tar.zst)

This commit is contained in:
Sergey Ponomarev
2019-09-14 21:30:15 +03:00
parent a101721f4e
commit 59f369a6da
2 changed files with 8 additions and 4 deletions
+4 -4
View File
@@ -2169,15 +2169,15 @@ FIO_determineDstName(const char* srcFileName)
static size_t dfnbCapacity = 0;
static char* dstFileNameBuffer = NULL; /* using static allocation : this function cannot be multi-threaded */
const char* SUFFIX_LIST = ZSTD_EXTENSION
const char* SUFFIX_LIST = ZSTD_EXTENSION "/" TZSTD_EXTENSION
#ifdef ZSTD_GZDECOMPRESS
"/" GZ_EXTENSION
"/" GZ_EXTENSION "/" TGZ_EXTENSION
#endif
#ifdef ZSTD_LZMADECOMPRESS
"/" XZ_EXTENSION "/" LZMA_EXTENSION
"/" XZ_EXTENSION "/" LZMA_EXTENSION "/" TXZ_EXTENSION
#endif
#ifdef ZSTD_LZ4DECOMPRESS
"/" LZ4_EXTENSION
"/" LZ4_EXTENSION "/" TLZ4_EXTENSION
#endif
;