mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-21 06:03:54 +00:00
Make ALL decompression use temporary in-ram buffer whenever possible.
This commit is contained in:
parent
27d7c2a031
commit
9e772d3140
6 changed files with 50 additions and 38 deletions
5
main.c
5
main.c
|
|
@ -698,8 +698,9 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
|
||||
/* Use less ram when using STDOUT to store the temporary output file */
|
||||
if (STDOUT)
|
||||
/* Use less ram when using STDOUT to store the temporary output
|
||||
* file. */
|
||||
if (STDOUT && !(DECOMPRESS || TEST_ONLY))
|
||||
control.maxram = control.ramsize * 2 / 9;
|
||||
else
|
||||
control.maxram = control.ramsize / 3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue