Summary: | failure when compiling bits/resource.h with -pedantic-errors and without _GNU_SOURCE | ||
---|---|---|---|
Product: | glibc | Reporter: | Kees Cook <kees> |
Component: | libc | Assignee: | Ulrich Drepper <drepper.fsp> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | glibc-bugs |
Priority: | P2 | Flags: | fweimer:
security-
|
Version: | 2.8 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Kees Cook
2009-01-08 03:24:53 UTC
Subject: Bug 9720 CVSROOT: /cvs/glibc Module name: libc Changes by: jakub@sourceware.org 2009-01-08 10:16:12 Modified files: . : ChangeLog sysdeps/unix/sysv/linux/bits: resource.h sysdeps/unix/sysv/linux/sparc/bits: resource.h Log message: [BZ #9720] * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE. * sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who): Likewise. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/libc/ChangeLog.diff?cvsroot=glibc&r1=1.11439&r2=1.11440 http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/bits/resource.h.diff?cvsroot=glibc&r1=1.20&r2=1.21 http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/sparc/bits/resource.h.diff?cvsroot=glibc&r1=1.10&r2=1.11 Jakub checked in a patch. |