Subject: PR/33676 CVS commit: src
To: None <rpaulo@NetBSD.org, gnats-admin@netbsd.org,>
From: Brian Ginsbach <ginsbach@netbsd.org>
List: netbsd-bugs
Date: 06/13/2006 21:20:02
The following reply was made to PR kern/33676; it has been noted by GNATS.

From: Brian Ginsbach <ginsbach@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/33676 CVS commit: src
Date: Tue, 13 Jun 2006 21:19:56 +0000 (UTC)

 Module Name:	src
 Committed By:	ginsbach
 Date:		Tue Jun 13 21:19:56 UTC 2006
 
 Modified Files:
 	src/lib/libc/sys: socket.2
 	src/sys/kern: uipc_socket.c
 
 Log Message:
 Add EAFNOSUPPORT as a possible error if the address family is not
 supported.  This adds further differentiation between which argument to
 socket(2) caused the error.  No longer are invalid domain (address family)
 errors classified as ENOPROTOSUPPORT errors.  This should make socket(2)
 conform to current POSIX and X/Open standards.  Fixes PR/33676.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.32 -r1.33 src/lib/libc/sys/socket.2
 cvs rdiff -r1.119 -r1.120 src/sys/kern/uipc_socket.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.