bug-inetutils
[Top][All Lists]
Advanced

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

[bug-inetutils] Re: Is getnameinfo(3) supported in our targets?


From: Simon Josefsson
Subject: [bug-inetutils] Re: Is getnameinfo(3) supported in our targets?
Date: Fri, 28 Jan 2011 20:57:30 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)

Mats Erik Andersson <address@hidden> writes:

> Dear fellow members,
>
> I am about to migrate IU-syslogd into supporting IPv6.
> With that aim in view I need to know whether I may discard
> gethostbyaddr(3) completely in favour of getnameinfo(3)
> in all cases, i.e., also when "!HAVE_IPV6"?

I say go for it.  It is best to have no HAVE_IPV6 tests at all, and just
move that stuff down into gnulib.

> Likewise for gethostbyname(3) versus getaddrinfo(3).
> The change would streamline the code better.
>
> In other words, are there any systems at whom GNU Inetutils
> is targeted, and which still lack access to getnameinfo(3)
> and getaddrinfo(3)?

If there are, we should handle them through gnulib.

It is very cool to see your progress in this area!

/Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]