diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-11-15 23:40:13 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-11-15 23:40:13 +0800 |
commit | f481523baac946fa3bc13d79186ffaf0c0b818a7 (patch) | |
tree | 4daff5030d1425cc3e85b5c89fa01e6a3b7dd894 /doc/examples/11_file_info.c | |
parent | xz: Move suffix check after stdout mode is detected. (diff) | |
download | xz-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 'doc/examples/11_file_info.c')
0 files changed, 0 insertions, 0 deletions