This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 4/4] network: recvmmsg and sendmmsg standard compliance (BZ#16919)
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 21 Mar 2016 18:22:18 -0300
- Subject: Re: [PATCH 4/4] network: recvmmsg and sendmmsg standard compliance (BZ#16919)
- Authentication-results: sourceware.org; auth=none
- References: <1458592867-3057-1-git-send-email-adhemerval dot zanella at linaro dot org> <1458592867-3057-5-git-send-email-adhemerval dot zanella at linaro dot org> <8760wfr0uj dot fsf at linux-m68k dot org>
On 21-03-2016 18:13, Andreas Schwab wrote:
> Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
>
>> @@ -55,7 +94,11 @@ __sendmmsg (int fd, struct mmsghdr *vmessages, unsigned int vlen, int flags)
>> descriptor and all other parameters cleared. This call
>> will not cause any harm and it will return
>> immediately. */
>> +# if LONG_MAX > INT_MAX
>> + ret = send_mmsghdr (fd, vmessages, vlen, flags);
>> +# else
>> ret = SOCKETCALL_CANCEL (invalid, -1);
>> +# endif
>
> That looks wrong, there is nothing to convert.
>
> Andreas.
>
Indeed, this not required. I will remove it.