>From [EMAIL PROTECTED]  Tue Feb 13 11:59:46 2001
>Return-Path: <[EMAIL PROTECTED]>
Received: from hera.kernel.org (IDENT:[EMAIL PROTECTED] [209.10.217.83])
        by gateway.camelot.jp (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id LAA06302
        for <[EMAIL PROTECTED]>; Tue, 13 Feb 2001 11:59:44 +0900
Received: (from majordom@localhost)
        by hera.kernel.org (8.9.3/8.9.3) id SAA21130
        for autofs-list; Mon, 12 Feb 2001 18:14:53 -0800
Received: from neon-gw.transmeta.com (neon-gw.transmeta.com [209.10.217.66])
        by hera.kernel.org (8.9.3/8.9.3) with ESMTP id SAA21127
        for <[EMAIL PROTECTED]>; Mon, 12 Feb 2001 18:14:53 -0800
Received: (from root@localhost)
        by neon-gw.transmeta.com (8.9.3/8.9.3) id SAA31780;
        Mon, 12 Feb 2001 18:14:49 -0800
Received: from mailhost.transmeta.com(10.1.1.15) by neon-gw.transmeta.com via smap 
(V2.1)
        id xma031772; Mon, 12 Feb 01 18:14:47 -0800
Received: from cesium.transmeta.com (cesium.transmeta.com [10.1.2.55])
        by deepthought.transmeta.com (8.9.3/8.9.3) with ESMTP id SAA01170;
        Mon, 12 Feb 2001 18:14:50 -0800 (PST)
Received: from transmeta.com (hpa@localhost [127.0.0.1]) by cesium.transmeta.com 
(8.9.3/8.7.3) with ESMTP id SAA32398; Mon, 12 Feb 2001 18:14:50 -0800
Message-ID: <[EMAIL PROTECTED]>
Date: Mon, 12 Feb 2001 18:14:50 -0800
From: "H. Peter Anvin" <[EMAIL PROTECTED]>
Organization: Transmeta Corporation
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.1 i686)
X-Accept-Language: en, sv, no, da, es, fr, ja
MIME-Version: 1.0
To: Mike Lemoine <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: atuofs and redhat 7
References: <Pine.LNX.4.21.0102121804250.10942-100000@discordia>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [EMAIL PROTECTED]
Precedence: bulk
Status: O
Content-Length: 545
Lines: 18

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

Reply via email to