Author: aurel32
Date: 2009-11-08 14:25:29 +0000 (Sun, 08 Nov 2009)
New Revision: 3937

Added:
   glibc-package/trunk/debian/patches/any/submitted-sched_h.2.diff
Log:
Add missing file from previous commit


Added: glibc-package/trunk/debian/patches/any/submitted-sched_h.2.diff
===================================================================
--- glibc-package/trunk/debian/patches/any/submitted-sched_h.2.diff             
                (rev 0)
+++ glibc-package/trunk/debian/patches/any/submitted-sched_h.2.diff     
2009-11-08 14:25:29 UTC (rev 3937)
@@ -0,0 +1,18 @@
+2009-11-08  Aurelien Jarno  <aurel...@aurel32.net>
+
+       * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ISSET_S): allow
+       const argument.
+
+diff --git a/sysdeps/unix/sysv/linux/bits/sched.h 
b/sysdeps/unix/sysv/linux/bits/sched.h
+index 95d05b4..7cecb86 100644
+--- a/sysdeps/unix/sysv/linux/bits/sched.h
++++ b/sysdeps/unix/sysv/linux/bits/sched.h
+@@ -154,7 +154,7 @@ typedef struct
+   (__extension__                                                            \
+    ({ size_t __cpu = (cpu);                                                 \
+       __cpu < 8 * (setsize)                                                 \
+-      ? ((((__cpu_mask *) ((cpusetp)->__bits))[__CPUELT (__cpu)]            \
++      ? ((((const __cpu_mask *) ((cpusetp)->__bits))[__CPUELT (__cpu)]        
      \
+         & __CPUMASK (__cpu))) != 0                                          \
+       : 0; }))
+ 


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to