xz: Detect when all data will be written to standard out earlier.
commitd4f4a4d040ef47a5e82dffd0f067e92716606ddf
authorJia Tan <jiat0218@gmail.com>
Tue, 14 Nov 2023 12:27:04 +0000 (14 20:27 +0800)
committerJia Tan <jiat0218@gmail.com>
Tue, 14 Nov 2023 12:27:04 +0000 (14 20:27 +0800)
tree2d1f06e08922b230e55f87d8ab541fa9e928be4b
parent2ade7246e7ba729a91460d2fab0f4c7b89d3998b
xz: Detect when all data will be written to standard out earlier.

If the -c, --stdout argument is not used, then we can still detect when
the data will be written to standard out if all of the provided
filenames are "-" (denoting standard in) or if no filenames are
provided.
src/xz/args.c