summaryrefslogtreecommitdiff
path: root/tar/creation_set.c
diff options
context:
space:
mode:
authorjrmarino <github@marino.st>2017-08-22 08:46:29 -0500
committerGitHub <noreply@github.com>2017-08-22 08:46:29 -0500
commite2134fb3b4cd20997e4d11c3373db2cf21ebaa47 (patch)
tree70eae71d25557c25d9f7bf94edb5812a8a8b3ffc /tar/creation_set.c
parent19f4e1eb5a29627195b3b6e0574ffdfd10cf1c7a (diff)
downloadlibarchive-e2134fb3b4cd20997e4d11c3373db2cf21ebaa47.tar.gz
Recognize ".tzst" extension as ".tar.zst"
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.
Diffstat (limited to 'tar/creation_set.c')
-rw-r--r--tar/creation_set.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tar/creation_set.c b/tar/creation_set.c
index d3c4d215..bdc607da 100644
--- a/tar/creation_set.c
+++ b/tar/creation_set.c
@@ -122,6 +122,7 @@ decompose_alias(const char *suffix)
{ ".tzo", ".tar.lzo" },
{ ".taZ", ".tar.Z" },
{ ".tZ", ".tar.Z" },
+ { ".tzst", ".tar.zst" },
{ NULL, NULL }
};