Subject: Re: lib/34168: getnameinfo prototype doesn't match SUS3
To: None <gnats-bugs@NetBSD.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: netbsd-bugs
Date: 08/09/2006 15:59:27
lha@NetBSD.org said:
> nodelen and servicelen are socklen_t

This looks like a bug or at least an inconsistency in SUSv3.
node and service are strings, not sockaddr or so.
RFC2553 says "size_t", as does every other OS I know.

> Are the ABI problems

Yes, on 64-bit systems.

> in changing this ?

I wouldn't bother.

best regards
Matthias