Move the ram allocation phase into rzip_fd to be able to get a more accurate measure of percentage done.

Prevent failure when offset is not a multiple of page size.
Add chunk percentage complete to output.
Tweak output at various verbosities.
Update documentation to reflect improved performance of unlimited mode.
Update benchmark results.
More tidying.
This commit is contained in:
Con Kolivas 2010-11-05 23:02:58 +11:00
parent a66dafe66a
commit 017ec9e85a
5 changed files with 126 additions and 90 deletions

5
main.c
View file

@ -720,6 +720,11 @@ int main(int argc, char *argv[])
control.flags |= FLAG_SHOW_PROGRESS;
}
if (UNLIMITED && STDIN) {
print_err("Cannot have -U and stdin, unlimited mode disabled.\n");
control.flags &= ~ FLAG_UNLIMITED;
}
if (argc < 1)
control.flags |= FLAG_STDIN;