From owner-freebsd-current Sun Mar 12 20:45: 4 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail.originative.co.uk (mailgate.originative.co.uk [194.217.50.228]) by hub.freebsd.org (Postfix) with ESMTP id E4E8A37B54C for ; Sun, 12 Mar 2000 20:45:01 -0800 (PST) (envelope-from paul@originative.co.uk) Received: from originative.co.uk (lobster.originative.co.uk [194.217.50.241]) by mail.originative.co.uk (Postfix) with ESMTP id BED251D132; Mon, 13 Mar 2000 04:45:00 +0000 (GMT) Message-ID: <38CC724C.159E68B4@originative.co.uk> Date: Mon, 13 Mar 2000 04:45:00 +0000 From: Paul Richards Organization: Originative Solutions Ltd X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en-GB, en MIME-Version: 1.0 To: Peter Jeremy Cc: current@FreeBSD.ORG Subject: Re: MAX_UID ? References: <38CAD957.3C839375@originative.co.uk> <38CB322D.D12ED0B0@originative.co.uk> <200003130145.RAA51429@vashon.polstra.com> <38CC4AFD.7E649664@originative.co.uk> <200003130202.SAA51491@vashon.polstra.com> <38CC4ECA.68AA4B78@originative.co.uk> <00Mar13.144149est.115209@border.alcanet.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Jeremy wrote: > > On 2000-Mar-13 13:14:40 +1100, Paul Richards wrote: > >#define UID_MAX ((uid_t)0-1) > ... > >I can see the flaw in that straight away in that uid_t isn't available > >in > > Not a problem. C macros are just text expansions. The `uid_t' isn't > evaluated unless/until the macro is used - at which point uid_t must > be available. Uhh, yeah. It's the middle of the night here I obviously wasn't awake when I said that :-) Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message