make consistent example in recv.2
PATCH 1/1 make consistent example in recv.2
Replace 0 with NULL als in the example a few lines above
--- man2/recv.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
man2/recv.2 +1 -1
@@ -325,7 +325,7 @@ socket (see .BR connect (2)). It is equivalent to the call: .PP - recvfrom(fd, buf, len, flags, NULL, 0); + recvfrom(fd, buf, len, flags, NULL, NULL); .\" .SS recvmsg() The
--
2.35.3
Quoted 21 lines · Peter Radisson
Replace 0 with NULL als in the example a few lines above
--- man2/recv.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)man2/recv.2 +1
-1@@ -325,7 +325,7 @@ socket (see .BR connect (2)). It is equivalent to the call: .PP - recvfrom(fd, buf, len, flags, NULL, 0); + recvfrom(fd, buf, len, flags, NULL, NULL); .\" .SS recvmsg() TheSignature · 1 line
2.35.3
Agreed. They are both pointers. It should be "NULL, NULL". It should also match the text under DESCRIPTION.
LGTM.
Signature · 2 lines
Cheers, Carlos.
Alejandro Colomar
maintainerHi Peter, Carlos,
Quoted 3 lines · Carlos O'Donell
Quoted 2 lines · Peter Radisson
Replace 0 with NULL als in the example a few lines above
Thanks! I've applied the patch.
Although, I had to do it manually. It seems you have an old copy of the repository; you should pull the contents.
warning: Patch sent with format=flowed; space at the end of lines might be lost.
Applying: make consistent example in recv.2
error: man2/recv.2: does not exist in index
Patch failed at 0001 make consistent example in recv.2
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Quoted 4 lines
Quoted 4 lines
--- man2/recv.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 8 lines
man2/recv.2 socket (see · line 327
Quoted 8 lines
man2/recv.2 +0
-0@@ -325,7 +325,7 @@ socket (see .BR connect (2)). It is equivalent to the call: .PP
This context was changed in1ae6b2c7b818 (2022-03-20; "Many pages: Fix style issues reported by make lint-groff")
Quoted 8 lines
Quoted 7 lines
man2/recv.2 +1
-1- recvfrom(fd, buf, len, flags, NULL, 0); + recvfrom(fd, buf, len, flags, NULL, NULL); .\" .SS recvmsg() TheSignature · 1 line
2.35.3
Quoted 6 lines
Agreed. They are both pointers. It should be "NULL, NULL". It should also match the text under DESCRIPTION.
LGTM.
Reviewed-by Carlos O'Donell <[email protected]>
Thanks! I've appended your R-b tag.
Have a lovely day!
Alex
P.S.: Please use <[email protected]>. I don't use my @gmail account
anymore.
Signature · 1 line
<https://www.alejandro-colomar.es/>
Am 29.03.25 um 19:30 schrieb Alejandro Colomar:
Quoted 12 lines
Hi Peter, Carlos,
Quoted 3 lines · Carlos O'Donell
Quoted 2 lines · Peter Radisson
Replace 0 with NULL als in the example a few lines above
Thanks! I've applied the patch.
Although, I had to do it manually. It seems you have an old copy of the repository; you should pull the contents.
This was not intentional
i have just checked my source was
https://git.kernel.org/pub/scm/docs/man-pages/man-pages
but it seems i was accidently on the wrong branch
Quoted 50 lines
warning: Patch sent with format=flowed; space at the end of lines might be lost.
Applying: make consistent example in recv.2
error: man2/recv.2: does not exist in index
Patch failed at 0001 make consistent example in recv.2
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"Quoted 4 lines
Quoted 4 lines
--- man2/recv.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 8 lines
man2/recv.2 socket (see · line 327
Quoted 8 lines
man2/recv.2 +0
-0@@ -325,7 +325,7 @@ socket (see .BR connect (2)). It is equivalent to the call: .PPThis context was changed in
1ae6b2c7b818(2022-03-20; "Many pages: Fix style issues reported bymake lint-groff")Quoted 8 lines
Quoted 7 lines
man2/recv.2 +1
-2- recvfrom(fd, buf, len, flags, NULL, 0); + recvfrom(fd, buf, len, flags, NULL, NULL); .\" .SS recvmsg() The --2.35.3
Quoted 6 lines
Agreed. They are both pointers. It should be "NULL, NULL". It should also match the text under DESCRIPTION.
LGTM.
Reviewed-by Carlos O'Donell <[email protected]>Thanks! I've appended your R-b tag.
Have a lovely day!
Alex
P.S.: Please use <[email protected]>. I don't use my @gmail account
anymore.