From owner-freebsd-current Sun Mar 12 15:53:41 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail2.x-treme.gr (mail2.x-treme.gr [212.120.196.24]) by hub.freebsd.org (Postfix) with ESMTP id F2B6D37B92E for ; Sun, 12 Mar 2000 15:53:31 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (pat10.x-treme.gr [212.120.197.202]) by mail2.x-treme.gr (8.9.3/8.9.3/IPNG-ADV-ANTISPAM-0.1) with ESMTP id BAA04215; Mon, 13 Mar 2000 01:53:10 +0200 Received: (from charon@localhost) by hades.hell.gr (8.9.3/8.9.3) id BAA05789; Mon, 13 Mar 2000 01:50:09 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 13 Mar 2000 01:50:09 +0200 From: Giorgos Keramidas To: Paul Richards Cc: John Polstra , current@FreeBSD.ORG Subject: Re: MAX_UID ? Message-ID: <20000313015009.A5653@hades.hell.gr> Reply-To: keramida@ceid.upatras.gr References: <38CAD957.3C839375@originative.co.uk> <200003120430.UAA49807@vashon.polstra.com> <38CB322D.D12ED0B0@originative.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38CB322D.D12ED0B0@originative.co.uk>; from paul@originative.co.uk on Sun, Mar 12, 2000 at 05:59:09AM +0000 X-PGP-Fingerprint: 62 45 D1 C9 26 F9 95 06 D6 21 2A C8 8C 16 C0 8E X-Phone-Number: +30-94-6203692, +30-93-2886457 X-Address: Theodorou Kirinaiou 61, 26334 Patra, Greece Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Mar 12, 2000 at 05:59:09AM +0000, Paul Richards wrote: > > Are expressions like ((uid_t)0-1) portable/safe ? Maybe that's a better > way of approaching this. To get the all-1's number, maybe it's better to use ((uid_t)~0), but that is a rather controversial topic anyway. - Giorgos Keramidas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message