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, 3 Nov 2000 17:15:04 -0500 From: Jason Tishler To: cygwin AT sources DOT redhat DOT com Subject: Re: [PORTS] Re: ps and psql from PostgreSQL not working with cygwin-1.1.5-2 Message-ID: <20001103171504.A238@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> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="X+qttXX4LUHkMLnL" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001103163716.A19118@redhat.com>; from cgf@redhat.com on Fri, Nov 03, 2000 at 04:37:16PM -0500 Organization: Dot Hill Systems Corp. --X+qttXX4LUHkMLnL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Nov 03, 2000 at 04:37:16PM -0500, Christopher Faylor wrote: > I don't suppose that you can see any way to fix Cygwin to "do the right > thing" can you? I'm under the impression that Cygwin is "doing the right thing." If I'm misguided (yet again), then Cygwin should map WinSock WSAEWOULDBLOCK to EINPROGRESS as in my second patch which is re-attached to this email. This would behavior would at least match better with some man pages for connect. I'm not that experienced with sockets, so I don't know what else this patch will break. 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 --X+qttXX4LUHkMLnL Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="net.cc.patch" Index: net.cc =================================================================== RCS file: /cvs/src/src/winsup/cygwin/net.cc,v retrieving revision 1.30 diff -u -r1.30 net.cc --- net.cc 2000/10/28 05:41:43 1.30 +++ net.cc 2000/11/02 17:15:53 @@ -189,7 +189,7 @@ static struct tl errmap[] = { - {WSAEWOULDBLOCK, "WSAEWOULDBLOCK", EWOULDBLOCK}, + {WSAEWOULDBLOCK, "WSAEWOULDBLOCK", EINPROGRESS}, {WSAEINPROGRESS, "WSAEINPROGRESS", EINPROGRESS}, {WSAEALREADY, "WSAEALREADY", EALREADY}, {WSAENOTSOCK, "WSAENOTSOCK", ENOTSOCK}, --X+qttXX4LUHkMLnL Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --X+qttXX4LUHkMLnL--