sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
* trap #2 for compiling sam on a DEC OSF/1 Alpha
@ 1993-03-26  5:05 Chris Siebenmann
  0 siblings, 0 replies; only message in thread
From: Chris Siebenmann @ 1993-03-26  5:05 UTC (permalink / raw)
  To: sam-fans

 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-03-26  5:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1993-03-26  5:05 trap #2 for compiling sam on a DEC OSF/1 Alpha Chris Siebenmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).