delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/04/14/14:44:57

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Fri, 14 Apr 2000 15:45:06 -0400
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: sockets and close-on-exec (F_SETFD)
Message-ID: <20000414154506.B1776@cygnus.com>
Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com
Mail-Followup-To: cgf AT cygnus DOT com, cygwin-developers AT sourceware DOT cygnus DOT com
References: <779F20BCCE5AD31186A50008C75D9979171712 AT SILLDN_MAIL1>
Mime-Version: 1.0
User-Agent: Mutt/1.1.8i
In-Reply-To: <779F20BCCE5AD31186A50008C75D9979171712@SILLDN_MAIL1>; from EFifer@sanwaint.com on Fri, Apr 14, 2000 at 06:13:15PM +0100

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019