[PATCH 4/4] network: recvmmsg and sendmmsg standard compliance (BZ#16919)

Andreas Schwab schwab@linux-m68k.org
Mon Mar 21 21:13:00 GMT 2016


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."



More information about the Libc-alpha mailing list