Subject: Re: lib/34168: getnameinfo prototype doesn't match SUS3
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: netbsd-bugs
Date: 08/09/2006 14:00:14
The following reply was made to PR lib/34168; it has been noted by GNATS.

From: Matthias Drochner <M.Drochner@fz-juelich.de>
To: gnats-bugs@NetBSD.org
Cc: lib-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org
Subject: Re: lib/34168: getnameinfo prototype doesn't match SUS3 
Date: Wed, 09 Aug 2006 15:59:27 +0200

 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