This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sockets and close-on-exec (F_SETFD)


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]