Workaround patch for MS CLOSE_WAIT bug

Christopher Faylor
Mon Apr 15 08:01:00 GMT 2002

On Mon, Apr 15, 2002 at 02:17:43PM +0200, Corinna Vinschen wrote:
>Your patch looks good.  What I didn't quite get is, how the above
>code now looks like (ideally) when using the new FD_SETCF functionality.
>Could you write a short example?  If inetd (what about sshd?) could
>benefit, I'd like to see how to do it.  Btw., the sources are in the
>inetutils-1.3.2-17-src.tar.bz2 file, obviously, which you can get
>by using setup.exe.

It looks like the patch will do the job but I would like to be convinced
that there is no other way around this problem.  If I'm reading this
correctly, this change requires modifying any code which uses cygwin.
That's something we should try to avoid at all costs.


More information about the Cygwin-patches mailing list