From owner-cvs-lib Mon Sep 15 23:07:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA09226 for cvs-lib-outgoing; Mon, 15 Sep 1997 23:07:50 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA09125; Mon, 15 Sep 1997 23:07:29 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA15019; Mon, 15 Sep 1997 23:03:55 -0700 (PDT) Date: Mon, 15 Sep 1997 23:03:55 -0700 (PDT) Message-Id: <199709160603.XAA15019@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/net res_send.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/09/15 23:03:55 PDT Modified files: lib/libc/net res_send.c Log: Some adjustments for the resolver use of poll(). For some reason I thought an unimplemented syscall returned ENOSYS, rather than EINVAL. I have run statically linked code with this wrapper and it does appear to work fine on 2.2-stable which doesn't have poll(). ktrace shows the poll syscall fail once and the fallback to select() working. Revision Changes Path 1.20 +8 -7 src/lib/libc/net/res_send.c