Jeremie Courreges-Anglas <j...@wxcvbn.org> wrote:

> On Sat, Apr 25 2020, "Theo de Raadt" <dera...@openbsd.org> wrote:
> > This wording doesn't make any sense to me.
> >
> > When we use the term deprecate, we are talking about interfaces.
> > But gethostbyname isn't actually deprecated.  getaddrinfo is
> > an alternative interface rather than gethostbyname.  But gethostbyname
> > isn't deprecated.
> > I don't understand what the addition mean.
> 
> "This option" kinda implies we're talking about RES_USE_INET6.
> Why couldn't it be deprecated?
> 
> What would you suggest?  "Using this option together with
> gethostbyname(3) is deprecated/discouraged in favor of getaddrinfo(3)"?

It is becoming even worse.  "because of A, B+C is deprecated"

> > At most I think it can
> > be said the option is ineffective?
> 
> This option is effective, last commit just made this clear.

So it doesn't work.  Why document it?

Reply via email to