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: Wed, 16 May 2001 22:05:24 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: patch for EINTR result of interrupted recv() Message-ID: <20010516220524.L31266@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <20010516132603 DOT A3345 AT enteract DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010516132603.A3345@enteract.com>; from fred@ontosys.com on Wed, May 16, 2001 at 01:26:03PM -0500 On Wed, May 16, 2001 at 01:26:03PM -0500, Fred Yankowski wrote: > I've been testing the new interruptible recv() and found that errno is > not set correctly when recv() returns after being interrupted. The > appended patch fixes the problem for me. > > -- > Fred Yankowski fred AT OntoSys DOT com tel: +1.630.879.1312 > Principal Consultant www.OntoSys.com fax: +1.630.879.1370 > OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA > > -- > Index: net.cc > =================================================================== > RCS file: /cvs/src/src/winsup/cygwin/net.cc,v > retrieving revision 1.53 > diff -u -r1.53 net.cc > --- net.cc 2001/05/15 08:15:54 1.53 > +++ net.cc 2001/05/16 18:24:49 > @@ -263,6 +263,7 @@ > > static struct tl errmap[] = > { > + {WSAEINTR, "WSAEINTR", EINTR}, > {WSAEWOULDBLOCK, "WSAEWOULDBLOCK", EWOULDBLOCK}, > {WSAEINPROGRESS, "WSAEINPROGRESS", EINPROGRESS}, > {WSAEALREADY, "WSAEALREADY", EALREADY}, Thanks, applied. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple