Subject: Re: net/tnftp and rfc 2553 compatibility
To: None <tech-pkg@NetBSD.org>
From: Klaus Heinz <k.heinz.apr.vier@onlinehome.de>
List: tech-pkg
Date: 04/14/2004 01:52:24
Luke Mewburn wrote:

> Ok, so we need to provide a separate prototype check for getaddrinfo()
> (independant of whether it's replaced or not).  That is a bug in the
> configure stuff.
> What is the function signature on UNIXware for getaddrinfo()?
                                    ^^^^^^^^ they spell it UnixWare :-)

=46rom line 247/248 in netdb.h:

  static int getaddrinfo(const char *__a1, const char *__a2, const
                         struct addrinfo *__a3, struct addrinfo **__a4)

The man page getaddrinfo(3N) says this:

  int getaddrinfo(const char *name, const char *service,
                  const struct addrinfo *req, struct addrinfo **pai)

After reading it again I see that the man page getaddrinfo(3N) lists
RFC 2133 in its REFERENCES section. Since UW 7.1.1 is a bit old (around
1999/2000) it may well be that later versions of UW (there's 7.1.2 aka
OpenUnix8 and 7.1.3) support RFC 2553. I would have to ask people who
have access to such systems.


ciao
     Klaus