Marcus Rueckert
bba3cd0802
Copy from IBS home:uli_suse/coreutils based on submit request 10077 from user uli_suse OBS-URL: https://build.opensuse.org/request/show/10077 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coreutils?expand=0&rev=51
16 lines
538 B
Diff
16 lines
538 B
Diff
Index: src/sort.c
|
|
===================================================================
|
|
--- src/sort.c.orig
|
|
+++ src/sort.c
|
|
@@ -5263,8 +5263,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. */
|