Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Mar 2000 19:18:16 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Paul Richards <paul@originative.co.uk>
Cc:        keramida@ceid.upatras.gr, John Polstra <jdp@polstra.com>, current@FreeBSD.ORG
Subject:   Re: MAX_UID ?
Message-ID:  <200003130018.TAA32652@khavrinen.lcs.mit.edu>
In-Reply-To: <38CC30FB.FC417909@originative.co.uk>
References:  <38CAD957.3C839375@originative.co.uk> <200003120430.UAA49807@vashon.polstra.com> <38CB322D.D12ED0B0@originative.co.uk> <20000313015009.A5653@hades.hell.gr> <38CC30FB.FC417909@originative.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 13 Mar 2000 00:06:19 +0000, Paul Richards <paul@originative.co.uk> said:

> We could create a new include file that we use for constants that are
> related to FreeBSD specific types or we can agree on a coding style for
> performing bounds checking using tricks like ((uid_t)0-1)

Or we can do it the right way, by assigning to a variable of the
correct type and checking that the value remains unchanged.

-GAWollman


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003130018.TAA32652>