]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Recognize ".tzst" extension as ".tar.zst" 943/head
authorjrmarino <github@marino.st>
Tue, 22 Aug 2017 13:46:29 +0000 (08:46 -0500)
committerGitHub <noreply@github.com>
Tue, 22 Aug 2017 13:46:29 +0000 (08:46 -0500)
This follows convention establish by ".tgz", ".txz", etc.
The alias array was not sorted alphabetically (the only order seems to be grouping by decomposed extension), so the new element was just added to the end.

tar/creation_set.c

index d3c4d215276ef6212b595b0fc41bbb64bf7159e8..bdc607daeb20f37d4a7c75442ce03a77f697d821 100644 (file)
@@ -122,6 +122,7 @@ decompose_alias(const char *suffix)
                { ".tzo",       ".tar.lzo" },
                { ".taZ",       ".tar.Z" },
                { ".tZ",        ".tar.Z" },
+               { ".tzst",      ".tar.zst" },
                { NULL,         NULL }
        };