Subject: CVS commit: src
To: None <>
From: Brian Ginsbach <>
List: source-changes
Date: 06/13/2006 21:19:56
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.