Fix Build; Refactor

This commit is contained in:
W. Felix Handte
2019-10-24 20:18:57 -04:00
parent 30b27ee0c9
commit 91c3f545cc
2 changed files with 91 additions and 46 deletions
+11 -4
View File
@@ -30,15 +30,22 @@ extern "C" {
#else
# define nulmark "/dev/null"
#endif
/* We test whether the extension we found starts with 't', and if so, we append
* ".tar" to the end of the output name.
*/
#define LZMA_EXTENSION ".lzma"
#define XZ_EXTENSION ".xz"
#define TXZ_EXTENSION ".txz"
#define TXZ_EXTENSION ".txz"
#define GZ_EXTENSION ".gz"
#define TGZ_EXTENSION ".tgz"
#define TGZ_EXTENSION ".tgz"
#define ZSTD_EXTENSION ".zst"
#define TZSTD_EXTENSION ".tzst"
#define TZSTD_EXTENSION ".tzst"
#define LZ4_EXTENSION ".lz4"
#define TLZ4_EXTENSION ".tlz4"
#define TLZ4_EXTENSION ".tlz4"
/*-*************************************