This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]