NetBSD Problem Report #34168

From  Tue Aug  8 23:43:47 2006
Return-Path: <>
Received: by (Postfix, from userid 31301)
	id 3118F63B8C3; Tue,  8 Aug 2006 23:43:47 +0000 (UTC)
Message-Id: <>
Date: Tue,  8 Aug 2006 23:43:47 +0000 (UTC)
Subject: getnameinfo prototype doesn't match SUS3
X-Send-Pr-Version: www-1.0

>Number:         34168
>Category:       lib
>Synopsis:       getnameinfo prototype doesn't match SUS3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 08 23:45:00 +0000 2006
>Last-Modified:  Wed Aug 30 16:30:01 +0000 2006
>Originator:     Love Hornquist Astrand
>Release:        netbsd current

say that the nodelen and servicelen are socklen_t, that isn't true for netbsd.

Are the ABI problems in changing this ?



From: Matthias Drochner <>
Subject: Re: lib/34168: getnameinfo prototype doesn't match SUS3 
Date: Wed, 09 Aug 2006 15:59:27 +0200 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

From: =?ISO-8859-1?Q?Love_H=F6rnquist_=C5strand?= <>
To: Matthias Drochner <>,,,,
Subject: Re: lib/34168
Date: Wed, 30 Aug 2006 13:40:09 +0200

 Some upcoming release of a fruitcompany operatingsystem doesn't agree  
 with you.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.