• Marc G. Fournier's avatar
    From: Keith Parks <emkxp01@mtcc.demon.co.uk> · ef228cb1
    Marc G. Fournier authored
    OK, The votes are in for the NOFILES limit.
    
    With the exception of Next, for which I've not yet heard, all supported platforms
    seem to have the sysconf() call.
    
    
    port           supported	default	Source.
    aix            yes		2000	darrenk@insightdist.com
    alpha          yes		4096	mjl@wwx.vip.at
    BSD44_derived  yes		64	scrappy@hub.org
    bsdi           yes		???	maillist@candle.pha.pa.us
    dgux           yes		???	geek@andrew.cmu.edu
    hpux           yes		60	emkxp01@mtcc.demon.co.uk
    i386_solaris   yes		64	emkxp01@mtcc.demon.co.uk
    irix5          yes		200	martin@biochem.uc.ac.uk
    linux          yes		256	emkxp01@mtcc.demon.co.uk
    next           ????		???
    sparc_solaris  yes		64	emkxp01@mtcc.demon.co.uk
    sunos4         yes		64	emkxp01@mtcc.demon.co.uk
    svr4           yes		64	chicks@chicks.net
    ultrix4        yes		64	erik@sockdev.uni-c.dk
    
    So here's a patch that I think will do the job.
    (I assume Next will have sysconf() but if not just add MISSING_SYSCONF to
     the config.h file )
    
    Thanks,
    Keith.
    ef228cb1
fd.c 22.3 KB