Re: [PATCH] recv.2: remove duplicate paragraph for MSG_ERRQUEUE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Vincent

On 12/30/2016 10:33 PM, Vincent Bernat wrote:
> The removed paragraph is identical to the one a few lines above.

Gosh! The duplication was injected back in man-pages-1.34 (2000)!
Back in man-pages-1.33, it was the second instance only that was 
present, so I'm inclined to remove the other instance (opposite 
of your patch). What do you think?

Cheers,

Michael


> Signed-off-by: Vincent Bernat <vincent@xxxxxxxxx>
> ---
>  man2/recv.2 | 14 --------------
>  1 file changed, 14 deletions(-)
> 
> diff --git a/man2/recv.2 b/man2/recv.2
> index d2b531276d90..d901f3898c44 100644
> --- a/man2/recv.2
> +++ b/man2/recv.2
> @@ -225,20 +225,6 @@ and the other fields of the
>  .I sockaddr
>  are undefined.
>  The payload of the packet that caused the error is passed as normal data.
> -.IP
> -For local errors, no address is passed (this
> -can be checked with the
> -.I cmsg_len
> -member of the
> -.IR cmsghdr ).
> -For error receives,
> -the
> -.B MSG_ERRQUEUE
> -is set in the
> -.IR msghdr .
> -After an error has been passed, the pending socket error
> -is regenerated based on the next queued error and will be passed
> -on the next socket operation.
>  .TP
>  .B MSG_OOB
>  This flag requests receipt of out-of-band data that would not be received
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux