mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
[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. 2009-01-08 Jakub Jelinek <jakub@redhat.com> [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.
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
2009-01-08 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
[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.
|
||||||
|
|
||||||
2009-01-05 Paolo Bonzini <bonzini@gnu.org>
|
2009-01-05 Paolo Bonzini <bonzini@gnu.org>
|
||||||
|
|
||||||
[BZ 697]
|
[BZ 697]
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Bit values & structures for resource limits. Linux version.
|
/* Bit values & structures for resource limits. Linux version.
|
||||||
Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005
|
Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005, 2008, 2009
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
@ -158,10 +158,11 @@ enum __rusage_who
|
|||||||
#define RUSAGE_SELF RUSAGE_SELF
|
#define RUSAGE_SELF RUSAGE_SELF
|
||||||
|
|
||||||
/* All of its terminated child processes. */
|
/* All of its terminated child processes. */
|
||||||
RUSAGE_CHILDREN = -1,
|
RUSAGE_CHILDREN = -1
|
||||||
#define RUSAGE_CHILDREN RUSAGE_CHILDREN
|
#define RUSAGE_CHILDREN RUSAGE_CHILDREN
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
|
,
|
||||||
/* The calling thread. */
|
/* The calling thread. */
|
||||||
RUSAGE_THREAD = 1
|
RUSAGE_THREAD = 1
|
||||||
# define RUSAGE_THREAD RUSAGE_THREAD
|
# define RUSAGE_THREAD RUSAGE_THREAD
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Bit values & structures for resource limits. Linux/SPARC version.
|
/* Bit values & structures for resource limits. Linux/SPARC version.
|
||||||
Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005
|
Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005, 2008, 2009
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
@ -174,10 +174,11 @@ enum __rusage_who
|
|||||||
#define RUSAGE_SELF RUSAGE_SELF
|
#define RUSAGE_SELF RUSAGE_SELF
|
||||||
|
|
||||||
/* All of its terminated child processes. */
|
/* All of its terminated child processes. */
|
||||||
RUSAGE_CHILDREN = -1,
|
RUSAGE_CHILDREN = -1
|
||||||
#define RUSAGE_CHILDREN RUSAGE_CHILDREN
|
#define RUSAGE_CHILDREN RUSAGE_CHILDREN
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
|
,
|
||||||
/* The calling thread. */
|
/* The calling thread. */
|
||||||
RUSAGE_THREAD = 1
|
RUSAGE_THREAD = 1
|
||||||
# define RUSAGE_THREAD RUSAGE_THREAD
|
# define RUSAGE_THREAD RUSAGE_THREAD
|
||||||
|
Reference in New Issue
Block a user