mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-21 06:03:54 +00:00
Modify maximum ram usable when stdout is being used in preparation for temporary in-ram file during stdout and fix summary shown and 32 bit limits.
This commit is contained in:
parent
885c6b327f
commit
9444441d51
3 changed files with 18 additions and 11 deletions
2
stream.c
2
stream.c
|
|
@ -1318,7 +1318,7 @@ fill_another:
|
|||
if (!last_head)
|
||||
s->eos = 1;
|
||||
else if (s->uthread_no != s->unext_thread && !ucthread[s->uthread_no].busy &&
|
||||
sinfo->ram_alloced < control->ramsize / 3)
|
||||
sinfo->ram_alloced < control->maxram)
|
||||
goto fill_another;
|
||||
out:
|
||||
lock_mutex(&output_lock);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue