[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: glibc's getaddrinfo() sort order



On Tue, Sep 18, 2007 at 07:18:40PM +0100, Ian Jackson wrote:
> There are only three possibilities:
> (a) It is correct that the behaviour of applications (and hence of
>     hosts) should be changed to comply with rule 9.
> (b) Application behaviour should not change; getaddrinfo should
>     behave the same way as gethostbyname.
> (c) Application behaviour should not change but getaddrinfo should
>     comply with rule 9.  Applications should therefore not be changed
>     to use getaddrinfo instead of gethostbyname.

No, there aren't. A fourth possibility is:

  (d) Applications should use getaddrinfo(), and if the ordering behaviour
      it uses is not desired, they should use an ordering that is desired.

Since we're at the point where you're yelling at me about how I'm not
listening, I won't reply further.

Cheers,
aj

Attachment: signature.asc
Description: Digital signature


Reply to: