forked from pool/coreutils
9c9a8d0166
Update to 8.16 + Security fix already released for SLES OBS-URL: https://build.opensuse.org/request/show/114847 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coreutils?expand=0&rev=75
16 lines
610 B
Diff
16 lines
610 B
Diff
Index: src/sort.c
|
|
===================================================================
|
|
--- src/sort.c.orig 2012-04-16 13:17:12.342019601 +0200
|
|
+++ src/sort.c 2012-04-16 13:17:12.463016705 +0200
|
|
@@ -5288,8 +5288,8 @@ main (int argc, char **argv)
|
|
{
|
|
if (!nthreads)
|
|
{
|
|
- unsigned long int np = num_processors (NPROC_CURRENT_OVERRIDABLE);
|
|
- nthreads = MIN (np, DEFAULT_MAX_THREADS);
|
|
+ //unsigned long int np = num_processors (NPROC_CURRENT_OVERRIDABLE);
|
|
+ nthreads = 1; //MIN (np, DEFAULT_MAX_THREADS);
|
|
}
|
|
|
|
/* Avoid integer overflow later. */
|