This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[patch] Fix RLIMIT_RTPRIO in sysdeps/unix/sysv/linux/mips/bits/resource.h
- From: Denis Barbier <barbier at linuxfr dot org>
- To: libc-ports at sources dot redhat dot com
- Date: Sun, 19 Mar 2006 00:14:26 +0100
- Subject: [patch] Fix RLIMIT_RTPRIO in sysdeps/unix/sysv/linux/mips/bits/resource.h
Here is a trivial patch. This typo also exists in 2.3 branch.
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.8
diff -u -r1.8 resource.h
--- sysdeps/unix/sysv/linux/mips/bits/resource.h 20 Jun 2005 15:07:34 -0000 1.8
+++ sysdeps/unix/sysv/linux/mips/bits/resource.h 18 Mar 2006 22:50:36 -0000
@@ -98,7 +98,7 @@
/* Maximum realtime priority allowed for non-priviledged
processes. */
__RLIMIT_RTPRIO = 14,
-#define RLIMIT_RTPRIO _RLIMIT_RTPRIO
+#define RLIMIT_RTPRIO __RLIMIT_RTPRIO
__RLIMIT_NLIMITS = 15,
__RLIM_NLIMITS = __RLIMIT_NLIMITS