sockets and close-on-exec (F_SETFD)

Chris Faylor cgf@cygnus.com
Fri Apr 14 12:45:00 GMT 2000


On Fri, Apr 14, 2000 at 06:13:15PM +0100, Fifer, Eric wrote:
>I added some code so that set_inheritance can call
>closesocket if a handle is a socket and my problem
>goes away.  Similarly, if I don't use close-on-exec
>the problem goes away.
>
>Does this make any sense?

Yes.  Getting close-on-exec working correctly with sockets has been
one of those things that I've meant to get to.  I'm surprised that it
comes even close to working now.

Do you want to submit a patch?

cgf


More information about the Cygwin-developers mailing list