From owner-freebsd-alpha Thu Jul 9 23:14:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA26358 for freebsd-alpha-outgoing; Thu, 9 Jul 1998 23:14:39 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from diablo.OntheNet.com.au (diablo.OntheNet.com.au [203.10.89.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA26351 for ; Thu, 9 Jul 1998 23:14:36 -0700 (PDT) (envelope-from tonyg@OntheNet.com.au) Received: from OntheNet.com.au (swanee.nt.com.au [203.14.201.3]) by diablo.OntheNet.com.au (8.9.1/8.9.1) with ESMTP id QAA16143; Fri, 10 Jul 1998 16:14:27 +1000 (EST) Message-ID: <35A5AF6D.4D1BED1B@OntheNet.com.au> Date: Fri, 10 Jul 1998 16:06:37 +1000 From: Tony Griffiths Reply-To: tonyg@OntheNet.com.au Organization: On the Net (ISP on the Gold Coast, Australia) X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: "Brent J. Nordquist" CC: freebsd-alpha@FreeBSD.ORG Subject: Re: Alpha S/Key fixed/verified References: <199807100426.XAA27506@thumper.visi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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