From owner-freebsd-current Tue Sep 5 12:31:51 2000 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 707BF37B422; Tue, 5 Sep 2000 12:31:47 -0700 (PDT) Received: (from ache@localhost) by nagual.pp.ru (8.11.0/8.11.0) id e85JVIu71884; Tue, 5 Sep 2000 23:31:18 +0400 (MSD) (envelope-from ache) Date: Tue, 5 Sep 2000 23:31:16 +0400 From: "Andrey A. Chernov" To: Peter van Dijk Cc: current@FreeBSD.ORG, bde@FreeBSD.ORG Subject: Re: FIFOs & select: what about our implementation? Message-ID: <20000905233114.A71862@nagual.pp.ru> References: <20000905195056.A67326@nagual.pp.ru> <20000905192458.A1428@dataloss.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20000905192458.A1428@dataloss.net>; from peter@dataloss.net on Tue, Sep 05, 2000 at 07:24:58PM +0200 Organization: Biomechanoid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Sep 05, 2000 at 07:24:58PM +0200, Peter van Dijk wrote: > > select return code -1 with wrong errno == 0. Sorry, I was wrong about errno, it returns that descriptor is ready for read while there is nothing to read. > I surely do think this behaviour is broken. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=19871 I disagree about Bruce comment on that. If we have nothing to read, select must be timed out. It is not non-blocking read call but select. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message