From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost by hawkwind.utcs.toronto.edu with SMTP id <2712>; Fri, 26 Mar 1993 00:05:21 -0500 To: sam-fans Subject: trap #2 for compiling sam on a DEC OSF/1 Alpha Date: Fri, 26 Mar 1993 00:05:14 -0500 From: Chris Siebenmann Message-Id: <93Mar26.000521est.2712@hawkwind.utcs.toronto.edu> shorts and ushorts are the traditional 2 bytes, so a Block is 4 bytes long, which breaks the assumptions behind stuffing Blocks into lists. This is going to be ugly to fix in a general way, no doubt; I punted and stuck an '#ifdef __alpha' into sam.h, since I wanted to get it running (I dislike vi and my ed is rusty). Oh, and the Etmpovfl check in bkalloc() (disc.c) seems to need to use '1l<<' instead of '1<<' if you increase the size of things in a Block instead of just padding it. - cks