From owner-freebsd-hackers Sat Nov 4 8:12:49 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id 4AC6637B4C5 for ; Sat, 4 Nov 2000 08:12:47 -0800 (PST) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id 3B92AA82B; Sun, 5 Nov 2000 03:12:45 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by starbug.ugh.net.au (Postfix) with ESMTP id 34BD15464; Sun, 5 Nov 2000 02:12:45 +1000 (EST) Date: Sun, 5 Nov 2000 02:12:45 +1000 (EST) From: andrew@ugh.net.au To: Terry Lambert Cc: "Andresen, Jason R." , Joe Greco , Greg Black , hackers@FreeBSD.ORG, ryan@sasknow.com Subject: Re: Logging users out In-Reply-To: <200010310809.BAA27414@usr02.primenet.com> Message-ID: X-WonK: *wibble* MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 31 Oct 2000, Terry Lambert wrote: > not noticing that read was returning 0 (which is returned on EOF, > but is also returned on perfectly goo non-blocking fds, and in the If you read from a non blocking fd (and there is nothing to read) don't you get -1 and errno = EAGAIN? > case that vmin is set to zero to effect a timed poll via vtime). That seems to be a problem. Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message