From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: libc-alpha@sourceware.org
Subject: Re: [PATCH 4/4] Simplify getrlimit64.c
Date: Sun, 31 Dec 2017 19:34:00 -0000 [thread overview]
Message-ID: <9a5bf559-a21b-5b2f-f37e-97c336ca5024@linaro.org> (raw)
In-Reply-To: <20171230184441.25392-5-aurelien@aurel32.net>
On 30/12/2017 16:44, Aurelien Jarno wrote:
> Changelog:
> * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
> Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
> never defined in that case.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
> ---
> ChangeLog | 6 ++++++
> sysdeps/unix/sysv/linux/getrlimit64.c | 4 ----
> 2 files changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/ChangeLog b/ChangeLog
> index 663a9186e4..598499fd78 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,9 @@
> +2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
> +
> + * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
> + Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
> + never defined in that case.
> +
> 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
>
> * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
> diff --git a/sysdeps/unix/sysv/linux/getrlimit64.c b/sysdeps/unix/sysv/linux/getrlimit64.c
> index 53cb4bb4d8..1310d179d0 100644
> --- a/sysdeps/unix/sysv/linux/getrlimit64.c
> +++ b/sysdeps/unix/sysv/linux/getrlimit64.c
> @@ -60,11 +60,7 @@ int
> attribute_compat_text_section
> __old_getrlimit64 (enum __rlimit_resource resource, struct rlimit64 *rlimits)
> {
> -# if __RLIM_T_MATCHES_RLIM64_T
> -# define rlimits32 (*rlimits)
> -# else
> struct rlimit rlimits32;
> -# endif
>
> if (__new_getrlimit (resource, &rlimits32) < 0)
> return -1;
>
prev parent reply other threads:[~2017-12-31 19:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-30 18:44 [PATCH 0/4] Alpha: Fix getrlimit/setrlimit with RLIM_INFINITY Aurelien Jarno
2017-12-30 18:44 ` [PATCH 1/4] Alpha: Add wrappers to get/setrlimit64 to fix RLIM64_INFINITY constant [BZ #22648] Aurelien Jarno
2017-12-31 19:33 ` Adhemerval Zanella
2018-01-01 1:42 ` Joseph Myers
2018-01-01 14:50 ` Aurelien Jarno
2018-01-01 23:01 ` Richard Henderson
2018-01-02 9:10 ` Aurelien Jarno
2018-01-02 17:28 ` Richard Henderson
2017-12-30 18:44 ` [PATCH 2/4] Alpha: Fix the RLIM_INFINITY and RLIM64_INFINITY constants Aurelien Jarno
2017-12-31 19:33 ` Adhemerval Zanella
2018-01-03 16:35 ` Aurelien Jarno
2017-12-30 18:44 ` [PATCH 3/4] Fix typos in getrlimit64.c and setrlimit64.c Aurelien Jarno
2017-12-31 19:34 ` Adhemerval Zanella
2017-12-30 19:27 ` [PATCH 4/4] Simplify getrlimit64.c Aurelien Jarno
2017-12-31 19:34 ` Adhemerval Zanella [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9a5bf559-a21b-5b2f-f37e-97c336ca5024@linaro.org \
--to=adhemerval.zanella@linaro.org \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).