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: Andreas Schwab <schwab at linux-m68k dot org>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 21 Mar 2016 22:13:24 +0100
- 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>
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.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."