mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-04 13:57:40 +00:00
Clear tmpinbuf between chunks.
This commit is contained in:
parent
3a8c0b6689
commit
8a83741c32
3 changed files with 10 additions and 0 deletions
2
runzip.c
2
runzip.c
|
|
@ -325,6 +325,8 @@ i64 runzip_fd(rzip_control *control, int fd_in, int fd_out, int fd_hist, i64 exp
|
|||
flush_tmpoutbuf(control);
|
||||
else if (STDOUT)
|
||||
dump_tmpoutfile(control, fd_out);
|
||||
if (TMP_INBUF)
|
||||
clear_tmpinbuf(control);
|
||||
} while (total < expected_size || (!expected_size && !control->eof));
|
||||
|
||||
gettimeofday(&end,NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue