mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Fix decompressing single chunk stdout chunked archives.
This commit is contained in:
parent
e0a0e6b277
commit
b17540d32e
2
runzip.c
2
runzip.c
|
|
@ -265,7 +265,7 @@ i64 runzip_fd(rzip_control *control, int fd_in, int fd_out, int fd_hist, i64 exp
|
|||
md5_init_ctx (&control->ctx);
|
||||
gettimeofday(&start,NULL);
|
||||
|
||||
while (total < expected_size || !control->eof) {
|
||||
while (total < expected_size || !total || !control->eof) {
|
||||
total += runzip_chunk(control, fd_in, fd_out, fd_hist, expected_size, total);
|
||||
if (STDOUT)
|
||||
dump_tmpoutfile(control, fd_out);
|
||||
|
|
|
|||
Loading…
Reference in a new issue