aboutsummaryrefslogtreecommitdiff
path: root/windows/vs2019/xz_win.sln
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-11-14 20:27:04 +0800
committerJia Tan <jiat0218@gmail.com>2023-12-22 20:02:06 +0800
commit87c956d4c4604d30b01326ea88f6241ec44f5526 (patch)
treed128876d46c42d10c79bb53c6d3f859fbbfcc9c9 /windows/vs2019/xz_win.sln
parentliblzma: Add missing comments to lz_encoder.h. (diff)
downloadxz-87c956d4c4604d30b01326ea88f6241ec44f5526.tar.xz
xz: Fix suffix check.
The suffix refactor done in 99575947a58a60416c570eb78038d18a1ea4cef4 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.
Diffstat (limited to 'windows/vs2019/xz_win.sln')
0 files changed, 0 insertions, 0 deletions