xz/src
Jia Tan 87c956d4c4 xz: Fix suffix check.
The suffix refactor done in 99575947a5
had a small regression where raw format compression to standard out
failed if a suffix was not set. In this case, setting the suffix did
not make sense since a file is not created.

Now, xz should only fail when a suffix is not provided when it is
actually needed.

For instance:

    echo "foo" | xz --format=raw --lzma2 | wc -c

does not need a suffix check since it creates no files. But:

    xz --format=raw --lzma2 --suffix=.bar foo

Needs the suffix to be set since it must create foo.bar.
2023-12-22 20:02:06 +08:00
..
common tuklib_integer: Revise unaligned reads and writes on strict-align archs. 2023-10-31 18:44:59 +08:00
liblzma liblzma: Add missing comments to lz_encoder.h. 2023-12-22 20:02:03 +08:00
lzmainfo xz, xzdec, lzmainfo: Use tuklib_attr_noreturn. 2023-10-31 01:03:25 +08:00
scripts xzdiff: Add support for .lz files. 2022-11-11 13:16:21 +02:00
xz xz: Fix suffix check. 2023-12-22 20:02:06 +08:00
xzdec xz, xzdec, lzmainfo: Use tuklib_attr_noreturn. 2023-10-31 01:03:25 +08:00
Makefile.am Build: Prepare to support Automake's subdir-objects. 2014-10-29 21:15:35 +02:00