public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Radisson <radisson97@web.de>
To: Alejandro Colomar <alx@kernel.org>, Carlos O'Donell <carlos@redhat.com>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH] make consistent example in recv.2
Date: Tue, 1 Apr 2025 21:22:37 +0200	[thread overview]
Message-ID: <7fd816fe-e504-4f8d-9a67-ef7e11c39f24@web.de> (raw)
In-Reply-To: <76g2kv7eelfyiovqsz5xnnxr3x3njekxtgjiedqk6at7kzdm27@jtmzp2fhsgxt>



Am 29.03.25 um 19:30 schrieb Alejandro Colomar:
> Hi Peter, Carlos,
>
> On Fri, Mar 28, 2025 at 06:53:52PM -0400, Carlos O'Donell wrote:
>> On 3/27/25 1:54 PM, Peter Radisson wrote:
>>>
>>> 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


> 	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"
>
>>> ---
>>>    man2/recv.2 | 2 +-
>>>    1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/man2/recv.2 b/man2/recv.2
>>> index ba17d03a3..21f65e86f 100644
>>> --- a/man2/recv.2
>>> +++ b/man2/recv.2
>>> @@ -325,7 +325,7 @@ socket (see
>>>    .BR connect (2)).
>>>    It is equivalent to the call:
>>>    .PP
>
> This context was changed in
> 1ae6b2c7b818 (2022-03-20; "Many pages: Fix style issues reported by `make lint-groff`")
>
>>> -    recvfrom(fd, buf, len, flags, NULL, 0);
>>> +    recvfrom(fd, buf, len, flags, NULL, NULL);
>>>    .\"
>>>    .SS recvmsg()
>>>    The
>>> --
>>> 2.35.3
>>
>> Agreed. They are both pointers. It should be "NULL, NULL".
>> It should also match the text under DESCRIPTION.
>>
>> LGTM.
>>
>> Reviewed-by: Carlos O'Donell <carlos@redhat.com>
>
> Thanks!  I've appended your R-b tag.
>
>
> Have a lovely day!
> Alex
>
> P.S.: Please use <alx@kernel.org>.  I don't use my @gmail account
>        anymore.
>


      reply	other threads:[~2025-04-01 19:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-27 17:54 [PATCH] make consistent example in recv.2 Peter Radisson
2025-03-28 22:53 ` Carlos O'Donell
2025-03-29 18:30   ` Alejandro Colomar
2025-04-01 19:22     ` Peter Radisson [this message]

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=7fd816fe-e504-4f8d-9a67-ef7e11c39f24@web.de \
    --to=radisson97@web.de \
    --cc=alx@kernel.org \
    --cc=carlos@redhat.com \
    --cc=linux-man@vger.kernel.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