]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix typos in getrlimit64.c and setrlimit64.c
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 2 Jan 2018 20:05:29 +0000 (21:05 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 2 Jan 2018 20:05:29 +0000 (21:05 +0100)
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
sysdeps/unix/sysv/linux/getrlimit64.c
sysdeps/unix/sysv/linux/setrlimit64.c

index cedd239f7df11efc602a8c0f608209030ec1f633..ba8fff6136c653b0800f373b332ee78cc2140056 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2018-01-02  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.
+
 2018-01-02  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
index 66cb623c63cdf941cc8e4bccd2a54d88a6c0573e..3dcab58711cd1f9ed5bac60e02d1c13af61ab90d 100644 (file)
@@ -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
index 7379d6b60a6eb509083f78cb0efb59b81e2cd1f7..3ec831fb4d64af7cef08779fe66f1090f8aa4806 100644 (file)
@@ -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>