public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Kerrisk <mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
To: Sam Varshavchik <mrsam-W1w4QoW4mIDgLSHwZvcCBg@public.gmane.org>
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Duplicated text in getaddrinfo(3)
Date: Tue, 26 Feb 2008 16:12:07 +0100	[thread overview]
Message-ID: <47C42C47.6060708@gmail.com> (raw)
In-Reply-To: <cone.1203900386.880941.11463.500-lO+bjgoT4TKm14v+eVDVcBDJ/jce7dRH@public.gmane.org>

Hello Sam,

Sam Varshavchik wrote:
> The current version of getaddrinfo(3) seems to have some a small amount
> of duplicative text, possibly a small cut-paste fudge.

Not sure.  It seems this text goes back to the (your) original version of
the page.  (To begin with, I had wondered if I'd messed up on some edits
that I later made to the page.)

> Describing the results placed into the returned addrinfo struct:
> 
> The members
> .IR ai_family ,
> .IR ai_socktype ,
> and
> .I ai_protocol
> have the same meaning as the corresponding parameters in the
> .BR socket (2)
> system call.
> 
> 
> Then, two paragraphs later:
> 
> .IR ai_family ,
> .IR ai_socktype ,
> and
> .I ai_protocol
> specify the socket creation parameters.
> 
> Even those the immediately preceding sentence refers to the hints input
> parameter, this sentence seems to refer to the output addrinfo struct
> again, and just restates the description given two paragraphs earlier.

Yep -- I've consolidated the duplicated text into a single sentence, and
also removed a bit of duplications elsewhere.  I also rewrote the
discussion of hints==NULL a bit, to provide some more detail.

Chnages will be in 2.79.

thanks!

Michael

-- 
Michael Kerrisk
Maintainer of the Linux man-pages project
http://www.kernel.org/doc/man-pages/
Want to report a man-pages bug?  Look here:
http://www.kernel.org/doc/man-pages/reporting_bugs.html

      parent reply	other threads:[~2008-02-26 15:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-25  0:46 Duplicated text in getaddrinfo(3) Sam Varshavchik
     [not found] ` <cone.1203900386.880941.11463.500-lO+bjgoT4TKm14v+eVDVcBDJ/jce7dRH@public.gmane.org>
2008-02-26 15:12   ` Michael Kerrisk [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=47C42C47.6060708@gmail.com \
    --to=mtk.manpages-gm/ye1e23mwn+bqq9rbeug@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mrsam-W1w4QoW4mIDgLSHwZvcCBg@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