Add short tar's extensions .tgz (.tar.gz), .txz (.tar.xz), .tzst (.tar.zst)
This commit is contained in:
parent
a101721f4e
commit
59f369a6da
@ -2169,15 +2169,15 @@ FIO_determineDstName(const char* srcFileName)
|
|||||||
static size_t dfnbCapacity = 0;
|
static size_t dfnbCapacity = 0;
|
||||||
static char* dstFileNameBuffer = NULL; /* using static allocation : this function cannot be multi-threaded */
|
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
|
#ifdef ZSTD_GZDECOMPRESS
|
||||||
"/" GZ_EXTENSION
|
"/" GZ_EXTENSION "/" TGZ_EXTENSION
|
||||||
#endif
|
#endif
|
||||||
#ifdef ZSTD_LZMADECOMPRESS
|
#ifdef ZSTD_LZMADECOMPRESS
|
||||||
"/" XZ_EXTENSION "/" LZMA_EXTENSION
|
"/" XZ_EXTENSION "/" LZMA_EXTENSION "/" TXZ_EXTENSION
|
||||||
#endif
|
#endif
|
||||||
#ifdef ZSTD_LZ4DECOMPRESS
|
#ifdef ZSTD_LZ4DECOMPRESS
|
||||||
"/" LZ4_EXTENSION
|
"/" LZ4_EXTENSION "/" TLZ4_EXTENSION
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -32,9 +32,13 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
#define LZMA_EXTENSION ".lzma"
|
#define LZMA_EXTENSION ".lzma"
|
||||||
#define XZ_EXTENSION ".xz"
|
#define XZ_EXTENSION ".xz"
|
||||||
|
#define TXZ_EXTENSION ".txz"
|
||||||
#define GZ_EXTENSION ".gz"
|
#define GZ_EXTENSION ".gz"
|
||||||
|
#define TGZ_EXTENSION ".tgz"
|
||||||
#define ZSTD_EXTENSION ".zst"
|
#define ZSTD_EXTENSION ".zst"
|
||||||
|
#define TZSTD_EXTENSION ".tzst"
|
||||||
#define LZ4_EXTENSION ".lz4"
|
#define LZ4_EXTENSION ".lz4"
|
||||||
|
#define TLZ4_EXTENSION ".tlz4"
|
||||||
|
|
||||||
|
|
||||||
/*-*************************************
|
/*-*************************************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user