This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 3/4] Fix typos in getrlimit64.c and setrlimit64.c
- From: Aurelien Jarno <aurelien at aurel32 dot net>
- To: libc-alpha at sourceware dot org
- Cc: Richard Henderson <rth at twiddle dot net>, Aurelien Jarno <aurelien at aurel32 dot net>
- Date: Sat, 30 Dec 2017 19:44:40 +0100
- Subject: [PATCH 3/4] Fix typos in getrlimit64.c and setrlimit64.c
- Authentication-results: sourceware.org; auth=none
- References: <20171230184441.25392-1-aurelien@aurel32.net>
Changelog:
* sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
comment.
* sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
comment.
(settrlimit): Rename into setrlimit.
(__sttrlimit): Rename into __setrlimit.
---
ChangeLog | 9 +++++++++
sysdeps/unix/sysv/linux/getrlimit64.c | 2 +-
sysdeps/unix/sysv/linux/setrlimit64.c | 6 +++---
3 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1e8740530d..663a9186e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
+
+ * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
+ comment.
+ * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
+ comment.
+ (settrlimit): Rename into setrlimit.
+ (__sttrlimit): Rename into __setrlimit.
+
2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
diff --git a/sysdeps/unix/sysv/linux/getrlimit64.c b/sysdeps/unix/sysv/linux/getrlimit64.c
index 37827e5f42..53cb4bb4d8 100644
--- a/sysdeps/unix/sysv/linux/getrlimit64.c
+++ b/sysdeps/unix/sysv/linux/getrlimit64.c
@@ -21,7 +21,7 @@
#include <shlib-compat.h>
/* Add this redirection so the strong_alias for __RLIM_T_MATCHES_RLIM64_T
- linking getlimit64 to {__}getrlimit does not throw a type error. */
+ linking getrlimit64 to {__}getrlimit does not throw a type error. */
#undef getrlimit
#undef __getrlimit
#define getrlimit getrlimit_redirect
diff --git a/sysdeps/unix/sysv/linux/setrlimit64.c b/sysdeps/unix/sysv/linux/setrlimit64.c
index ff835c8733..2b1d3d172e 100644
--- a/sysdeps/unix/sysv/linux/setrlimit64.c
+++ b/sysdeps/unix/sysv/linux/setrlimit64.c
@@ -21,9 +21,9 @@
#include <shlib-compat.h>
/* Add this redirection so the strong_alias for __RLIM_T_MATCHES_RLIM64_T
- linking setlimit64 to {__}setrlimit does not throw a type error. */
-#undef settrlimit
-#undef __sttrlimit
+ linking setrlimit64 to {__}setrlimit does not throw a type error. */
+#undef setrlimit
+#undef __setrlimit
#define setrlimit setrlimit_redirect
#define __setrlimit __setrlimit_redirect
#include <sys/resource.h>
--
2.15.1