aboutsummaryrefslogtreecommitdiff
path: root/src/xz/list.c
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-11-15 23:40:13 +0800
committerJia Tan <jiat0218@gmail.com>2023-11-15 23:40:13 +0800
commitf481523baac946fa3bc13d79186ffaf0c0b818a7 (patch)
tree4daff5030d1425cc3e85b5c89fa01e6a3b7dd894 /src/xz/list.c
parentxz: Move suffix check after stdout mode is detected. (diff)
downloadxz-f481523baac946fa3bc13d79186ffaf0c0b818a7.tar.xz
xz: Refactor suffix test with raw format.
The previous version set opt_stdout, but this caused an issue with copying an input file to standard out when decompressing an unknown file type. The following needs to result in an error: echo foo | xz -df since -c, --stdout is not used. This fixes the previous error by not setting opt_stdout.
Diffstat (limited to 'src/xz/list.c')
0 files changed, 0 insertions, 0 deletions