r3512 - in glibc-package/trunk/debian: . patches patches/any
Author: aurel32
Date: 2009-05-21 15:22:00 +0000 (Thu, 21 May 2009)
New Revision: 3512
Added:
glibc-package/trunk/debian/patches/any/submitted-tst-cpucount.diff
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/series
Log:
* debian/patches/any/submitted-tst-cpucount.diff: new patch to fix
tst-cpucount test on non Linux kernels.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2009-05-21 15:00:43 UTC (rev 3511)
+++ glibc-package/trunk/debian/changelog 2009-05-21 15:22:00 UTC (rev 3512)
@@ -13,6 +13,8 @@
* debian/patches/any/cvs-sunrpc-license.diff: new patch from upstream
to change the SUNRPC license into BSD one. Update debian/copyright
accordingly. Closes: #382175.
+ * debian/patches/any/submitted-tst-cpucount.diff: new patch to fix
+ tst-cpucount test on non Linux kernels.
-- Aurelien Jarno <aurel32@debian.org> Thu, 14 May 2009 21:25:26 +0200
Added: glibc-package/trunk/debian/patches/any/submitted-tst-cpucount.diff
===================================================================
--- glibc-package/trunk/debian/patches/any/submitted-tst-cpucount.diff (rev 0)
+++ glibc-package/trunk/debian/patches/any/submitted-tst-cpucount.diff 2009-05-21 15:22:00 UTC (rev 3512)
@@ -0,0 +1,16 @@
+2009-05-21 Aurelien Jarno <aurelien@aurel32.net>
+
+ * posix/tst-cpucount.c (do_test): use CPU_SETSIZE instead of an
+ hardcoded value.
+
+--- a/posix/tst-cpucount.c
++++ b/posix/tst-cpucount.c
+@@ -8,7 +8,7 @@ do_test (void)
+
+ CPU_ZERO (&c);
+
+- for (int cnt = 0; cnt < 130; ++cnt)
++ for (int cnt = 0; cnt < CPU_SETSIZE; ++cnt)
+ {
+ int n = CPU_COUNT (&c);
+ if (n != cnt)
Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series 2009-05-21 15:00:43 UTC (rev 3511)
+++ glibc-package/trunk/debian/patches/series 2009-05-21 15:22:00 UTC (rev 3512)
@@ -207,3 +207,4 @@
any/submitted-broken-dns.diff
any/local-revert-3270.diff
any/cvs-sunrpc-license.diff
+any/submitted-tst-cpucount.diff
Reply to: