mcmilk / zstdmt

Multithreading Library for Brotli, Lizard, LZ4, LZ5, Snappy and Zstandard
Other
181 stars 33 forks source link

no error message given on non-zero exit status #4

Closed derijkp closed 5 years ago

derijkp commented 5 years ago

zstd-mt (and probably the commands as well) does not always give an error message where needed, even though it does have a non-zero exit status, e.g. where filename is not a zstd compressed file, the command zstd-mt -v -k -d -c filename > /dev/null should give the error: zstd-mt: filename: Malformed input but does not. I made this patch to get running locally.

mcmilk commented 5 years ago

Thank you, these tools are just some examples for minimalistic "gzip like" cmdline utilities.. didn't know that someone really uses them ;-)

mcmilk commented 5 years ago

First the pull, than the close ... didn't know that ;)