diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-11-14 20:27:46 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-11-14 20:27:46 +0800 |
commit | 837ea40b1c9d4998cac4500b55171bf33e0c31a6 (patch) | |
tree | 20456aa583a83cd47bf508174aba00a2fa8b9c23 /tests/test_vli.c | |
parent | xz: Detect when all data will be written to standard out earlier. (diff) | |
download | xz-837ea40b1c9d4998cac4500b55171bf33e0c31a6.tar.xz |
xz: Move suffix check after stdout mode is detected.
This fixes a bug introduced in cc5aa9ab138beeecaee5a1e81197591893ee9ca0
when the suffix check was initially moved. This caused a situation that
previously worked:
echo foo | xz -Fraw --lzma1 | wc -c
to fail because the old code knew that this would write to standard out
so a suffix was not needed.
Diffstat (limited to 'tests/test_vli.c')
0 files changed, 0 insertions, 0 deletions