conditional on #ifdef LINUX.
+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.
* 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 <config.h>
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: