Fix single chunk flag handling during decompression.

Update docs.
This commit is contained in:
Moinak Ghosh 2012-08-27 22:24:23 +05:30
parent d75535bc7e
commit a222772940
2 changed files with 7 additions and 0 deletions

View file

@ -89,6 +89,9 @@ NOTE: The option "libbsc" uses Ilya Grebnov's block sorting compression library
'-M' - Display memory allocator statistics
'-C' - Display compression statistics
NOTE: It is recommended not to use '-L' with libbsc compression since libbsc uses
LZP internally as well.
Environment Variables
=====================

4
main.c
View file

@ -527,6 +527,10 @@ start_decompress(const char *filename, const char *to_filename)
enable_rabin_scan = 1;
}
if (flags & FLAG_SINGLE_CHUNK) {
props.is_single_chunk = 1;
}
nprocs = sysconf(_SC_NPROCESSORS_ONLN);
if (nthreads > 0 && nthreads < nprocs)
nprocs = nthreads;