8c75e9d5e8
add for factory OBS-URL: https://build.opensuse.org/request/show/74353 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pigz?expand=0&rev=1
17 lines
458 B
Diff
17 lines
458 B
Diff
Dictzip only really works in the threaded code paths. So let's force
|
|
use them and ignore the non-parallel case (bnc#597756).
|
|
|
|
Index: pigz-2.1.5/pigz.c
|
|
===================================================================
|
|
--- pigz-2.1.5.orig/pigz.c
|
|
+++ pigz-2.1.5/pigz.c
|
|
@@ -2820,7 +2820,7 @@ local void process(char *path)
|
|
unlzw();
|
|
}
|
|
#ifndef NOTHREAD
|
|
- else if (procs > 1)
|
|
+ else if (1)
|
|
parallel_compress();
|
|
#endif
|
|
else
|