* [PATCH] recv.2: remove duplicate paragraph for MSG_ERRQUEUE
@ 2016-12-30 21:33 Vincent Bernat
[not found] ` <20161230213328.31980-1-vincent-5wNQGcxKXm8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Vincent Bernat @ 2016-12-30 21:33 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
linux-man-u79uwXL29TY76Z2rM5mHXA
Cc: Vincent Bernat
The removed paragraph is identical to the one a few lines above.
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
--
2.11.0
--
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
^ permalink raw reply related [flat|nested] 4+ messages in thread[parent not found: <20161230213328.31980-1-vincent-5wNQGcxKXm8AvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] recv.2: remove duplicate paragraph for MSG_ERRQUEUE [not found] ` <20161230213328.31980-1-vincent-5wNQGcxKXm8AvxtiuMwx3w@public.gmane.org> @ 2016-12-31 10:27 ` Michael Kerrisk (man-pages) [not found] ` <3cb21035-4bc7-da18-febb-e2a919ba02c0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Michael Kerrisk (man-pages) @ 2016-12-31 10:27 UTC (permalink / raw) To: Vincent Bernat, linux-man-u79uwXL29TY76Z2rM5mHXA Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <3cb21035-4bc7-da18-febb-e2a919ba02c0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] recv.2: remove duplicate paragraph for MSG_ERRQUEUE [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> 0 siblings, 1 reply; 4+ messages in thread From: Vincent Bernat @ 2016-12-31 13:08 UTC (permalink / raw) To: Michael Kerrisk (man-pages); +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA ❦ 31 décembre 2016 11:27 +0100, "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> : >> 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? I think both solutions are fine. -- Use debugging compilers. - The Elements of Programming Style (Kernighan & Plauger) -- 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <m3bmvs9rg3.fsf-PWwKhitvBKI@public.gmane.org>]
* Re: [PATCH] recv.2: remove duplicate paragraph for MSG_ERRQUEUE [not found] ` <m3bmvs9rg3.fsf-PWwKhitvBKI@public.gmane.org> @ 2016-12-31 19:34 ` Michael Kerrisk (man-pages) 0 siblings, 0 replies; 4+ messages in thread From: Michael Kerrisk (man-pages) @ 2016-12-31 19:34 UTC (permalink / raw) To: Vincent Bernat Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA On 12/31/2016 02:08 PM, Vincent Bernat wrote: > ❦ 31 décembre 2016 11:27 +0100, "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> : > >>> 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? > > I think both solutions are fine. Thanks. I just wanted to check if you had some particular reason for removing the second instance, rather than the first. I removed the first. Cheers, Michael -- 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-12-31 19:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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)
[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)
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox