[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r2020 - in glibc-package/trunk/debian: . patches patches/any



Author: madcoder
Date: 2007-03-05 09:34:52 +0000 (Mon, 05 Mar 2007)
New Revision: 2020

Added:
   glibc-package/trunk/debian/patches/any/cvs-sunrpc-64bits-svc_getreqset.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
Closes: 413450

  * any/cvs-sunrpc-64bits-svc_getreqset.diff: fix 64bits issue for 64bits
    machines  (affects mount, causes CPU hog if triggered). Closes: #413450.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>


Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2007-03-04 00:00:58 UTC (rev 2019)
+++ glibc-package/trunk/debian/changelog	2007-03-05 09:34:52 UTC (rev 2020)
@@ -1,3 +1,11 @@
+glibc (2.3.6.ds1-14) UNRELEASED; urgency=low
+
+  [ Pierre Habouzit ]
+  * any/cvs-sunrpc-64bits-svc_getreqset.diff: fix 64bits issue for 64bits
+    machines  (affects mount, causes CPU hog if triggered). Closes: #413450.
+
+ -- Pierre Habouzit <madcoder@debian.org>  Mon,  5 Mar 2007 10:32:34 +0100
+
 glibc (2.3.6.ds1-13) unstable; urgency=low
 
   * debhelper.in/libc.postinst: try to add /etc/ld.so.conf.d support for

Added: glibc-package/trunk/debian/patches/any/cvs-sunrpc-64bits-svc_getreqset.diff
===================================================================
--- glibc-package/trunk/debian/patches/any/cvs-sunrpc-64bits-svc_getreqset.diff	2007-03-04 00:00:58 UTC (rev 2019)
+++ glibc-package/trunk/debian/patches/any/cvs-sunrpc-64bits-svc_getreqset.diff	2007-03-05 09:34:52 UTC (rev 2020)
@@ -0,0 +1,13 @@
+Index: sunrpc/svc.c
+===================================================================
+--- sunrpc/svc.c.orig
++++ sunrpc/svc.c
+@@ -372,7 +372,7 @@
+     setsize = FD_SETSIZE;
+   maskp = readfds->fds_bits;
+   for (sock = 0; sock < setsize; sock += NFDBITS)
+-    for (mask = *maskp++; (bit = ffs (mask)); mask ^= (1 << (bit - 1)))
++    for (mask = *maskp++; (bit = ffsl (mask)); mask ^= (1 << (bit - 1)))
+       INTUSE(svc_getreq_common) (sock + bit - 1);
+ }
+ INTDEF (svc_getreqset)

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2007-03-04 00:00:58 UTC (rev 2019)
+++ glibc-package/trunk/debian/patches/series	2007-03-05 09:34:52 UTC (rev 2020)
@@ -186,3 +186,4 @@
 any/submitted-strfmon.diff
 any/cvs-sunrpc-xdrmem_setpos.diff
 any/cvs-getent-wrong-struct-size.diff -p0
+any/cvs-sunrpc-64bits-svc_getreqset.diff -p0



Reply to: