aboutsummaryrefslogtreecommitdiffstats
path: root/tar/creation_set.c
diff options
context:
space:
mode:
Diffstat (limited to 'tar/creation_set.c')
-rw-r--r--tar/creation_set.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tar/creation_set.c b/tar/creation_set.c
index 24cf3fcdd4ef..bdc607daeb20 100644
--- a/tar/creation_set.c
+++ b/tar/creation_set.c
@@ -80,9 +80,10 @@ get_filter_code(const char *suffix)
{ ".lzma", "lzma" },
{ ".uu", "uuencode" },
{ ".xz", "xz" },
+ { ".zst", "zstd"},
{ NULL, NULL }
};
-
+
return get_suffix_code(filters, suffix);
}
@@ -121,6 +122,7 @@ decompose_alias(const char *suffix)
{ ".tzo", ".tar.lzo" },
{ ".taZ", ".tar.Z" },
{ ".tZ", ".tar.Z" },
+ { ".tzst", ".tar.zst" },
{ NULL, NULL }
};