This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: sockets and close-on-exec (F_SETFD)
- To: cygwin-developers at sourceware dot cygnus dot com
- Subject: Re: sockets and close-on-exec (F_SETFD)
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Fri, 14 Apr 2000 15:45:06 -0400
- References: <779F20BCCE5AD31186A50008C75D9979171712@SILLDN_MAIL1>
- Reply-To: cygwin-developers at sourceware dot cygnus dot com
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