recv.2: remove duplicate paragraph for MSG_ERRQUEUE
PATCH 1/1 recv.2: remove duplicate paragraph for MSG_ERRQUEUE
The removed paragraph is identical to the one a few lines above.
--- man2/recv.2 | 14 -------------- 1 file changed, 14 deletions(-)
man2/recv.2 +0 -14
@@ -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
Signature · 6 lines
2.11.0 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello Vincent
Quoted 1 line · Vincent Bernat
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
Quoted 31 lines
Signed-off-by Vincent Bernat <[email protected]>--- man2/recv.2 | 14 -------------- 1 file changed, 14 deletions(-)man2/recv.2 +0
-14@@ -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
Signature · 7 lines
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
❦ 31 décembre 2016 11:27 +0100, "Michael Kerrisk (man-pages)" <[email protected]> :
Quoted 6 lines
Quoted 1 line
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.
Signature · 6 lines
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlQuoted 10 lines · Vincent Bernat
❦ 31 décembre 2016 11:27 +0100, "Michael Kerrisk (man-pages)" <[email protected]> :
Quoted 6 lines
Quoted 1 line
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
Signature · 7 lines
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html