tar: *.tlz now implies lzip, not lzma

Suggested by Antonio Diaz Diaz in:
https://lists.gnu.org/r/bug-tar/2026-10/msg00002.html
* src/suffix.c (compression_suffixes): Change tlz from LZMA to LZIP.
This commit is contained in:
Paul Eggert
2026-10-09 13:14:09 -07:00
parent c17976eba5
commit 8723e7e91c
3 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
GNU tar NEWS - User visible changes. 2026-09-30
GNU tar NEWS - User visible changes. 2026-10-09
Please send GNU tar bug reports to <bug-tar@gnu.org>
version 1.35.90 (git)
@@ -44,6 +44,10 @@ option.
Formerly, the behavior was undocumented and differed from one tar
version to the next.
** The *.tlz extension in a tarball now implies lzip, not lzma.
This matches the change made to pkgtools in Slackware 15.0 (2022),
after lzma was superseded by xz in 2009.
** Support for RTU-style contiguous files has been withdrawn.
RTU’s supplier dropped support for RTU decades ago.
+1 -1
View File
@@ -10051,8 +10051,8 @@ suffix. The following suffixes are recognized:
@item @samp{.tbz2} @tab @command{bzip2}
@item @samp{.tbz} @tab @command{bzip2}
@item @samp{.lz} @tab @command{lzip}
@item @samp{.tlz} @tab @command{lzip}
@item @samp{.lzma} @tab @command{lzma}
@item @samp{.tlz} @tab @command{lzma}
@item @samp{.lzo} @tab @command{lzop}
@item @samp{.xz} @tab @command{xz}
@item @samp{.zst} @tab @command{zstd}
+1 -1
View File
@@ -45,8 +45,8 @@ static struct compression_suffix const compression_suffixes[] = {
{ S(tbz2, BZIP2) },
{ S(tz2, BZIP2) },
{ S(lz, LZIP) },
{ S(tlz, LZIP) },
{ S(lzma, LZMA) },
{ S(tlz, LZMA) },
{ S(lzo, LZOP) },
{ S(tzo, LZOP) },
{ S(xz, XZ) },