From owner-freebsd-current@FreeBSD.ORG Wed Mar 29 21:04:40 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA47D16A424; Wed, 29 Mar 2006 21:04:40 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD03543D46; Wed, 29 Mar 2006 21:04:38 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k2TL4bdr083073; Wed, 29 Mar 2006 16:04:37 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org, deischen@freebsd.org Date: Wed, 29 Mar 2006 16:05:35 -0500 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603291605.36884.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1361/Wed Mar 29 01:50:38 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-3.8 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Subject: Re: _cleanup() vs Linux fcloseall() 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: Wed, 29 Mar 2006 21:04:40 -0000 On Wednesday 29 March 2006 14:54, Daniel Eischen wrote: > It seems that some 3rd party code, pmake in particular, rely on > the implementation exporting _cleanup() to close all open file > descriptors. Linux supplies fcloseall() and does not export > _cleanup(). > > In the initial cut of symbol versioning for libc, I did not > export _cleanup(). This breaks pmake, and perhaps some other > 3rd party applications. Do we want to continue to export this > interface, or should we provide an equivalent of Linux' > fcloseall()? I would vote for fcloseall() personally. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org