NetBSD Problem Report #34168

From www@NetBSD.org  Tue Aug  8 23:43:47 2006
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
	id 3118F63B8C3; Tue,  8 Aug 2006 23:43:47 +0000 (UTC)
Message-Id: <20060808234347.3118F63B8C3@narn.NetBSD.org>
Date: Tue,  8 Aug 2006 23:43:47 +0000 (UTC)
From: lha@netbsd.org
Reply-To: lha@netbsd.org
To: gnats-bugs@NetBSD.org
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
>Organization:
>Environment:
inspection
>Description:
http://www.opengroup.org/onlinepubs/009695399/functions/getnameinfo.html

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

Are the ABI problems in changing this ?

>How-To-Repeat:

>Fix:

>Audit-Trail:
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


From: =?ISO-8859-1?Q?Love_H=F6rnquist_=C5strand?= <lha@kth.se>
To: Matthias Drochner <M.Drochner@fz-juelich.de>,
	gnats-bugs@NetBSD.org, lib-bug-people@NetBSD.org,
	gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org
Cc: 
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: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.