]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
nproc: return a possibly more accurate total CPU count
authorPádraig Brady <P@draigBrady.com>
Mon, 11 Jan 2010 22:50:21 +0000 (22:50 +0000)
committerJim Meyering <meyering@redhat.com>
Tue, 12 Jan 2010 05:46:51 +0000 (06:46 +0100)
* gnulib: Update, for num_processors() improvement.
* NEWS: Mention the fix.

NEWS
gnulib

diff --git a/NEWS b/NEWS
index 04a75cd6f470580778e4adb57a0a3fe505ba8f2b..7f0c8e2751d97ae3136013f6479277e36c8086fb 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,13 @@ GNU coreutils NEWS                                    -*- outline -*-
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+** Bug fixes
+
+  nproc --all is now guaranteed to be as large as the count
+  of available processors, which may not have been the case
+  on GNU/Linux systems with neither /proc nor /sys available.
+  [bug introduced in coreutils-8.1]
+
 ** Build-related
 
   Work around a build failure when using buggy <sys/capability.h>.
diff --git a/gnulib b/gnulib
index c535f4489b41f28afd115ae331d69595ea41b6a1..0a68a3d852c46f4d23bb0239c0e9f3398d71823f 160000 (submodule)
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit c535f4489b41f28afd115ae331d69595ea41b6a1
+Subproject commit 0a68a3d852c46f4d23bb0239c0e9f3398d71823f