From owner-freebsd-current@FreeBSD.ORG Wed Mar 29 19:54:47 2006 Return-Path: X-Original-To: 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 9AF5816A400 for ; Wed, 29 Mar 2006 19:54:47 +0000 (UTC) (envelope-from eischen@vigrid.com) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 441A843D5C for ; Wed, 29 Mar 2006 19:54:44 +0000 (GMT) (envelope-from eischen@vigrid.com) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.6/8.13.6/NETPLEX) with ESMTP id k2TJshVt005559 for ; Wed, 29 Mar 2006 14:54:43 -0500 (EST) Date: Wed, 29 Mar 2006 14:54:43 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: current@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: Subject: _cleanup() vs Linux fcloseall() X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: deischen@freebsd.org 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 19:54:47 -0000 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()? -- DE