NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/48063: incorrect definition of socklen_t



The following reply was made to PR bin/48063; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/48063: incorrect definition of socklen_t
Date: Fri, 19 Jul 2013 05:40:34 +0000

 On Thu, Jul 18, 2013 at 11:15:00PM +0000, 
justin%specialbusservice.com@localhost wrote:
  > the fallback socklen_t definition in tools/compat/compat_defs.h is
  > incorrect, should be unsigned not int (as required by POSIX).
 
 ...required? Since when?
 
 int is the correct type on nearly all (pre)historic systems from
 before socklen_t became common.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index