Fix single chunk flag handling during decompression.
Update docs.
This commit is contained in:
parent
d75535bc7e
commit
a222772940
2 changed files with 7 additions and 0 deletions
|
@ -89,6 +89,9 @@ NOTE: The option "libbsc" uses Ilya Grebnov's block sorting compression library
|
||||||
'-M' - Display memory allocator statistics
|
'-M' - Display memory allocator statistics
|
||||||
'-C' - Display compression 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
|
Environment Variables
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||
|
|
4
main.c
4
main.c
|
@ -527,6 +527,10 @@ start_decompress(const char *filename, const char *to_filename)
|
||||||
enable_rabin_scan = 1;
|
enable_rabin_scan = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (flags & FLAG_SINGLE_CHUNK) {
|
||||||
|
props.is_single_chunk = 1;
|
||||||
|
}
|
||||||
|
|
||||||
nprocs = sysconf(_SC_NPROCESSORS_ONLN);
|
nprocs = sysconf(_SC_NPROCESSORS_ONLN);
|
||||||
if (nthreads > 0 && nthreads < nprocs)
|
if (nthreads > 0 && nthreads < nprocs)
|
||||||
nprocs = nthreads;
|
nprocs = nthreads;
|
||||||
|
|
Loading…
Reference in a new issue