Re: _cleanup() vs Linux fcloseall()

From: John Baldwin <jhb_at_freebsd.org>
Date: Wed, 29 Mar 2006 16:05:35 -0500
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_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Wed Mar 29 2006 - 19:04:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:54 UTC