From owner-freebsd-current@FreeBSD.ORG Fri Nov 5 18:27:53 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B526106566C for ; Fri, 5 Nov 2010 18:27:53 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtpb-ews06.kpnxchange.com (cpsmtpb-ews06.kpnxchange.com [213.75.39.9]) by mx1.freebsd.org (Postfix) with ESMTP id 019228FC13 for ; Fri, 5 Nov 2010 18:27:52 +0000 (UTC) Received: from cpbrm-ews10.kpnxchange.com ([10.94.84.141]) by cpsmtpb-ews06.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 5 Nov 2010 19:27:51 +0100 Received: from CPSMTPM-EML102.kpnxchange.com ([195.121.3.6]) by cpbrm-ews10.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 5 Nov 2010 19:27:51 +0100 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by CPSMTPM-EML102.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18222); Fri, 5 Nov 2010 19:27:50 +0100 Received: from hillary.van-laarhoven.org (Hillary.van-laarhoven.org [10.66.0.100]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by uitsmijter.van-laarhoven.org (Postfix) with ESMTPSA id 041B1421A; Fri, 5 Nov 2010 19:27:44 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Nick Hibma In-Reply-To: <20101105152009.GB1437@mark-laptop-bsd.mark-home> Date: Fri, 5 Nov 2010 19:27:43 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <08D6E625-5BE9-4121-A0D8-8B5BDA20A813@van-laarhoven.org> References: <20101024231119.GA2123@mark-laptop-bsd.mark-home> <20101024231642.GB2123@mark-laptop-bsd.mark-home> <20101105152009.GB1437@mark-laptop-bsd.mark-home> To: Mark Johnston X-Mailer: Apple Mail (2.1081) X-Spam-Status: No, score=-16.0 required=5.0 tests=UNPARSEABLE_RELAY, USER_IN_WHITELIST,USER_IN_WHITELIST_TO autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on uitsmijter.van-laarhoven.org X-OriginalArrivalTime: 05 Nov 2010 18:27:50.0534 (UTC) FILETIME=[272F9260:01CB7D17] X-RcptDomain: freebsd.org Cc: freebsd-current@freebsd.org Subject: Re: [Patch] libfetch - closing the cached FTP connection X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2010 18:27:53 -0000 > I think using fcntl is nicer than having a "close the cached = connection" > function, but I don't think I can get around this problem without > changing something in libfetch. I think libfetch should set the Close-On-Exec flag. It's wrong to have = these files propagate to children. Nick=