On Mon, 12 Feb 2001, H. Peter Anvin wrote:

> Mike Lemoine wrote:
> > 
> > Autofs fails to compile modules/lookup_program.c on RedHat 7,
> > because OPEN_MAX doesn't appear to be defined anywhere.
> > 
> > My ghetto solution was simply to define it to 16 in
> > include/config.h, which is what it looks like it might
> > be in RH6.2
> 
> Actually, it's 256.  This is used to close all file descriptors; anyone
> know of a better way to do this?
> 
>       -hpa

*laughs* I better recompile and reinstall, then.

Reply via email to