Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 19 Jan 2001 14:32:47 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: read() returns errno == 1 ("Resource temporarily unavailable") Message-ID: <20010119143246.F7746@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20010119120952 DOT A7227 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: ; from jojo@virtutech.se on Fri, Jan 19, 2001 at 07:52:18PM +0100 On Fri, Jan 19, 2001 at 07:52:18PM +0100, Jesper Eskilson wrote: >Christopher Faylor writes: > >> errno == 1 is not EAGAIN. I assume that you mean errno == 11. > >Of course. My fingers slipped. > >> Looking at the code for _read, the only time this should be returned is if >> you are using a non-blocking read. > >I'm fairly certain that I'm not. Well, since I'm fairly certain that the code is pretty clear and since I don't recall anyone else reporting this you're either going to have to debug this yourself or provide a very simple test case. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple