mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Don't delete the tmpinfile when decompressing from stdin before allowing seek to end to succeed in checking md5
This commit is contained in:
parent
3f746d5d60
commit
b48c3b2ee4
2
runzip.c
2
runzip.c
|
|
@ -388,7 +388,7 @@ i64 runzip_fd(rzip_control *control, int fd_in, int fd_out, int fd_hist, i64 exp
|
|||
return -1; }
|
||||
if (TMP_INBUF)
|
||||
clear_tmpinbuf(control);
|
||||
else if (STDIN)
|
||||
else if (STDIN && !DECOMPRESS)
|
||||
if (unlikely(!clear_tmpinfile(control)))
|
||||
return -1;
|
||||
} while (total < expected_size || (!expected_size && !control->eof));
|
||||
|
|
|
|||
Loading…
Reference in a new issue