Subject: misc/12761: bad definition of socklen_t
To: None <gnats-bugs@gnats.netbsd.org>
From: None <smb@research.att.com>
List: netbsd-bugs
Date: 04/26/2001 14:03:26
>Number: 12761
>Category: misc
>Synopsis: Two header files define socklen_t as itself
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 26 11:03:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Steven M. Bellovin
>Release: <NetBSD-current source date>
>Organization:
AT&T Labs Research
>Environment:
System: NetBSD berkshire.research.att.com 1.5.1_BETA NetBSD 1.5.1_BETA (BERKSHIRE) #0: Fri Apr 20 09:18:32 EDT 2001 smb@berkshire.research.att.com:/usr/src/sys/arch/i386/compile/BERKSHIRE i386
>Description:
netdb.h and socket.h have the line
#define socklen_t socklen_t
This tends to hinder compilations...
>How-To-Repeat:
>Fix:
The correct line is
#define socklen_t __socklen_t
and is present in 1.5R; those changes need to be pulled
into 1.5.1
>Release-Note:
>Audit-Trail:
>Unformatted: