]> git.ipfire.org Git - thirdparty/zstd.git/commit
fileio: Error in compression on read errors 1244/head
authorNick Terrell <terrelln@fb.com>
Tue, 17 Jul 2018 21:57:27 +0000 (14:57 -0700)
committerNick Terrell <terrelln@fb.com>
Tue, 17 Jul 2018 22:26:30 +0000 (15:26 -0700)
commit4e706d7f2cb79df257809b45c033b3bcf5822edf
treee811fdd397c1b03ac8ef608954bf79c30ce6e5ff
parentabc02e08ff5659f7d09854371d0d95b0991ecbd1
fileio: Error in compression on read errors

We can write a corrupted file if the input file errors during a read.
We should return a non-zero error code in this case.
programs/fileio.c