[PORTS] Re: ps and psql from PostgreSQL not working with cygwin-1.1.5-2

Jason Tishler Jason.Tishler@dothill.com
Wed Nov 8 12:39:00 GMT 2000


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.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com


More information about the Cygwin-developers mailing list