This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Update MIPS bits/resource.h
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: libc-ports at sourceware dot org
- Date: Mon, 12 Jan 2009 16:46:12 +0000 (UTC)
- Subject: Update MIPS bits/resource.h
I've applied this patch to update the MIPS bits/resource.h corresponding
to a recent libc change.
Index: ChangeLog.mips
===================================================================
RCS file: /cvs/glibc/ports/ChangeLog.mips,v
retrieving revision 1.68
diff -u -r1.68 ChangeLog.mips
--- ChangeLog.mips 12 Jan 2009 16:38:17 -0000 1.68
+++ ChangeLog.mips 12 Jan 2009 16:44:50 -0000
@@ -1,5 +1,11 @@
2009-01-12 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
+ __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
+ -D_GNU_SOURCE.
+
+2009-01-12 Joseph Myers <joseph@codesourcery.com>
+
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
Index: sysdeps/unix/sysv/linux/mips/bits/resource.h
===================================================================
RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/mips/bits/resource.h,v
retrieving revision 1.11
diff -u -r1.11 resource.h
--- sysdeps/unix/sysv/linux/mips/bits/resource.h 1 May 2008 12:34:13 -0000 1.11
+++ sysdeps/unix/sysv/linux/mips/bits/resource.h 12 Jan 2009 16:44:50 -0000
@@ -1,6 +1,6 @@
/* Bit values & structures for resource limits. Linux/MIPS version.
- Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005, 2006
- Free Software Foundation, Inc.
+ Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005, 2006, 2008,
+ 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -166,10 +166,11 @@
#define RUSAGE_SELF RUSAGE_SELF
/* All of its terminated child processes. */
- RUSAGE_CHILDREN = -1,
+ RUSAGE_CHILDREN = -1
#define RUSAGE_CHILDREN RUSAGE_CHILDREN
#ifdef __USE_GNU
+ ,
/* The calling thread. */
RUSAGE_THREAD = 1
# define RUSAGE_THREAD RUSAGE_THREAD
--
Joseph S. Myers
joseph@codesourcery.com