Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Wed, 8 Nov 2000 15:39:15 -0500 From: Jason Tishler To: Cygwin-Developers Subject: Re: [PORTS] Re: ps and psql from PostgreSQL not working with cygwin-1.1.5-2 Message-ID: <20001108153915.F458@dothill.com> References: <20001029205046 DOT A19137 AT redhat DOT com> <20001031114831 DOT A27220 AT redhat DOT com> <20001102122634 DOT A211 AT dothill DOT com> <20001103160800 DOT A523 AT dothill DOT com> <20001103163716 DOT A19118 AT redhat DOT com> <20001103171504 DOT A238 AT dothill DOT com> <3A035626 DOT BD9AA64B AT redhat DOT com> <20001106163707 DOT A388 AT dothill DOT com> <14855 DOT 49635 DOT 565990 DOT 716645 AT kryten DOT bedford DOT waii 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: <14855.49635.565990.716645@kryten.bedford.waii.com>; from gsez020@kryten.bedford.waii.com on Tue, Nov 07, 2000 at 08:48:35AM +0000 Organization: Dot Hill Systems Corp. On Tue, Nov 07, 2000 at 08:48:35AM +0000, Pete Forman wrote: > According to POSIX, connect() should never set errno to EAGAIN or > EWOULDBLOCK. (Those codes are appropriate for accept().) > > If the connection cannot be established immediately and O_NONBLOCK > is set for the file descriptor for the socket, connect( ) shall fail > and set errno to [EINPROGRESS], but the connection request shall not > be aborted, and the connection shall be established asynchronously. > Subsequent calls to connect( ) for the same socket, before the > connection is established, shall fail and set errno to [EALREADY]. If we can agree that connect() should behave as above, then I'm willing to provide a patch to make it so. Do we? Thanks, Jason -- Jason Tishler Director, Software Engineering Phone: +1 (732) 264-8770 x235 Dot Hill Systems Corporation Fax: +1 (732) 264-8798 82 Bethany Road, Suite 7 Email: Jason DOT Tishler AT dothill DOT com Hazlet, NJ 07730 USA WWW: http://www.dothill.com