public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Vincent Bernat <vincent-5wNQGcxKXm8AvxtiuMwx3w@public.gmane.org>,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: Re: [PATCH] recv.2: remove duplicate paragraph for MSG_ERRQUEUE
Date: Sat, 31 Dec 2016 11:27:32 +0100	[thread overview]
Message-ID: <3cb21035-4bc7-da18-febb-e2a919ba02c0@gmail.com> (raw)
In-Reply-To: <20161230213328.31980-1-vincent-5wNQGcxKXm8AvxtiuMwx3w@public.gmane.org>

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-5wNQGcxKXm8AvxtiuMwx3w@public.gmane.org>
> ---
>  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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2016-12-31 10:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-30 21:33 [PATCH] recv.2: remove duplicate paragraph for MSG_ERRQUEUE Vincent Bernat
     [not found] ` <20161230213328.31980-1-vincent-5wNQGcxKXm8AvxtiuMwx3w@public.gmane.org>
2016-12-31 10:27   ` Michael Kerrisk (man-pages) [this message]
     [not found]     ` <3cb21035-4bc7-da18-febb-e2a919ba02c0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-12-31 13:08       ` Vincent Bernat
     [not found]         ` <m3bmvs9rg3.fsf-PWwKhitvBKI@public.gmane.org>
2016-12-31 19:34           ` Michael Kerrisk (man-pages)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3cb21035-4bc7-da18-febb-e2a919ba02c0@gmail.com \
    --to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=vincent-5wNQGcxKXm8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox