From patchwork Sat Dec 30 18:44:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 854140 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-88677-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="HkZ9r+kQ"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z8C7W3S36z9s7s for ; Sun, 31 Dec 2017 05:45:11 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=SPRGN3up5pMEWsRiQca/psvPGCUKKpz qYaonwlF3OUF74opKA3BY1v5eiyv6yZSv+d36EWX7TBObb8Yhs3PCfqo6W33NdvA SRYgTBmWr8BXYkRc1TfyPlUBJ3ACDvZW5aYt7pYFtrFGWWnaiYlgvh1iTESfCEj2 XFgyX8FARZY8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; s=default; bh=id26IQy8VnYmwvOlSfQxE/xpqvc=; b=HkZ9r +kQjmXHlWgt/Uo3WAd+UYjk2aIMrOy3K+lmjRHUvhSLS2R5UZUotZYCQoG0pHSvx o1kY/GSSMuTdlBHjIm9jFrtFatyqaZ3L5fP6dLnBitF49qPIJq+a6B20SuCjeH5i y/pV2waBRFcPpoLTIjF+9+UDgnbR9e31mGwi/k= Received: (qmail 9299 invoked by alias); 30 Dec 2017 18:44:57 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 9244 invoked by uid 89); 30 Dec 2017 18:44:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*Ad:U*rth X-HELO: hall.aurel32.net From: Aurelien Jarno To: libc-alpha@sourceware.org Cc: Richard Henderson , Aurelien Jarno Subject: [PATCH 3/4] Fix typos in getrlimit64.c and setrlimit64.c Date: Sat, 30 Dec 2017 19:44:40 +0100 Message-Id: <20171230184441.25392-4-aurelien@aurel32.net> In-Reply-To: <20171230184441.25392-1-aurelien@aurel32.net> 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. Reviewed-by: Adhemerval Zanella --- 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 + + * 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 * 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 /* 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 /* 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