On September 3, 2005 4:32:01 PM +0200 Nicolas Baradakis <nbk@sitadelle.com> wrote:
===================================================== Combined list of identical log entries ===================================================== Description: Use per-system max fd to close, rather than hard-coded number Modified files: File: radiusd/src/main/session.c; Revision: 1.28; Date: 2005/08/26 22:02:29; Author: aland; Lines: (+10 -2) File: radiusd/src/modules/rlm_exec/exec.c; Revision: 1.3; Date: 2005/08/26 22:02:29; Author: aland; Lines: (+15 -3)
Perhaps we could use fcntl(3, F_CLOSEM) on systems that implement this command.
According to http://netbsd.gw.com/cgi-bin/man-cgi?fcntl F_CLOSEM Close all file descriptors greater than or equal to fd.
How about closefrom() as well. -frank