From: Mark Andrews Date: Mon, 3 Jun 2002 06:31:16 +0000 (+0000) Subject: 1217. [port] linux: make handling EINVAL from socket() no longer X-Git-Tag: v9.0.1^2~8329 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=0a1fa37641b59c56d02f5390917a49e4987f0f75;p=thirdparty%2Fbind9.git 1217. [port] linux: make handling EINVAL from socket() no longer conditional on #ifdef LINUX. --- diff --git a/CHANGES b/CHANGES index d7cde18038a..a07a7ba8a8c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +1217. [port] linux: make handling EINVAL from socket() no longer + conditional on #ifdef LINUX. + 1216. [bug] isc_log_closefilelogs() needed to lock the log context. diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index 042688f34a1..189f9d23497 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: socket.c,v 1.226 2002/05/27 00:40:22 marka Exp $ */ +/* $Id: socket.c,v 1.227 2002/06/03 06:31:16 marka Exp $ */ #include @@ -1338,13 +1338,11 @@ isc_socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type, case EPROTONOSUPPORT: case EPFNOSUPPORT: case EAFNOSUPPORT: -#ifdef LINUX /* * Linux 2.2 (and maybe others) return EINVAL instead of * EAFNOSUPPORT. */ case EINVAL: -#endif return (ISC_R_FAMILYNOSUPPORT); default: