Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 1998 16:06:37 +1000
From:      Tony Griffiths <tonyg@OntheNet.com.au>
To:        "Brent J. Nordquist" <bjn@visi.com>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: Alpha S/Key fixed/verified
Message-ID:  <35A5AF6D.4D1BED1B@OntheNet.com.au>
References:  <199807100426.XAA27506@thumper.visi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Brent J. Nordquist wrote:
> 
[snip]

> (1)  A patch to lib/libskey/skeysubr.c -- u_long was used to select a
> 32-bit quantity, which breaks on the Alpha.  I'm sure we're going to
> see a lot of these.  Do we have an agreed-on method of handling them?
> (Is there a type that's mapped to 32 bits on all systems, or are we just
> going to use unsigned int as that type?)  If there's a type that should
> be used, then this patch should change.

In file "/usr/include/machine/types.h" you will find the definitions of the
u_int{8,16,32,64] and int{8,16,32,64} typedefs.

Obviously Alpha will have a _slightly_ different definition for u_int64 and
int64 but you should be guaranteed the bit size on both architectures!

Tony

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35A5AF6D.4D1BED1B>