Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2006 16:05:35 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org, deischen@freebsd.org
Subject:   Re: _cleanup() vs Linux fcloseall()
Message-ID:  <200603291605.36884.jhb@freebsd.org>
In-Reply-To: <Pine.GSO.4.43.0603291445520.25824-100000@sea.ntplx.net>
References:  <Pine.GSO.4.43.0603291445520.25824-100000@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603291605.36884.jhb>