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
--
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt