Deprecate the -M option as it is no longer of any significant utility compared to the -U option.

This commit is contained in:
Con Kolivas 2011-02-22 20:38:39 +11:00
parent 0f1d447541
commit 9c8b1ee795
7 changed files with 16 additions and 50 deletions

7
rzip.c
View file

@ -773,11 +773,8 @@ void rzip_fd(int fd_in, int fd_out)
control.max_mmap = MIN(control.max_mmap, two_gig);
round_to_page(&control.max_mmap);
/* Set maximum chunk size to proportion of ram according to mode */
if (MAXRAM && !STDIN)
control.max_chunk = control.ramsize / 2 * 3;
else
control.max_chunk = control.ramsize / 3 * 2;
/* Set maximum chunk size to 2/3 of ram */
control.max_chunk = control.ramsize / 3 * 2;
if (UNLIMITED)
control.max_chunk = control.st_size;
if (control.window)