Bug#220673: libc6.1-dev: bits/sched.h has typo in CPU_ZERO macro
Package: libc6.1-dev
Version: 2.3.2-9
Severity: normal
Current bits/sched.h has:
/* Data structure to describe CPU mask. */
typedef struct
{
__cpu_mask __bits[__CPU_SETSIZE / __NCPUBITS];
} cpu_set_t;
/* Access functions for CPU masks. */
# define __CPU_ZERO(cpusetp) \
do { \
unsigned int __i; \
cpu_set *__arr = (cpusetp); \
for (__i = 0; __i < sizeof (cpu_set) / sizeof (__cpu_mask); ++__i) \
__arr->__bits[__i] = 0; \
} while (0)
Note that "cpu_set" is unknown type. Should be "cpu_set_t".
Unstable (.ds1-10 has the same bug).
grant
-- System Information:
Debian Release: testing/unstable
Architecture: ia64
Kernel: Linux gsyprf3.external.hp.com 2.6.0-test9 #6 SMP Sun Nov 9 13:30:54 PST 2003 ia64
Locale: LANG=C, LC_CTYPE=C
Versions of packages libc6.1-dev depends on:
ii libc6.1 2.3.2-9 GNU C Library: Shared libraries an
-- no debconf information
Reply to: