🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.notes
Article #91

Re: large notefiles glitch - (nf)

#91
From: utzoodecvaxharpoihnp4ixn5cinuxcp...
Date: Wed, 17 Nov 1982 15:47
29 lines
1435 bytes
#R:sri-unix:1000024:uiucdcs:23300022:004:975
uiucdcs!notes    Nov 17 14:08:00 1982

	Boy am I embarassed. 

	The people are SRI are doing things right. The notes code
is in error. And after I had publicly babbled about not using the
commands correctly. *Blush*.
	The problem is with seeking and forgetting to case 
various values.  I did all of the later development on a Vax
and thus missed a lot of things that are declared "int" and
should have been "long".  On the 11's, "int" is 16 bits, the
Vax has them 32.
	Some of my address calculations are of the form:

	long = int + int * int;

which on the 11 comes out as:

	long = short + short*short;

the cast to long does not come until too late to save me. After a
number of notes in a notesfile, things begin to wrap.  *Yech*.
	I'm working on getting this fixed and should have some results
soon.  The errors are not likely to manifest themselves unless you have
(1) a PDP-11 and (2) very large notesfiles. I'll post the changes
as I finish them.

--Ray Essick, University of Illinois at Urbana-Champaign
Technical Details
Message-ID: <bnews.uiucdcs.1076>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
From: utzoo!decvax!harpo!ihnp4!ixn5c!inuxc!pur-ee!uiucdcs!notes
Newsgroups: net.notes
Title: Re: large notefiles glitch - (nf)
Article-I.D.: uiucdcs.1076
Posted: Wed Nov 17 15:47:58 1982
Received: Thu Nov 18 09:15:43 1982
Subject: Re: large notefiles glitch - (nf)
Date: Wed, 17 Nov 1982 15:47:58 +0000
Message-ID: <bnews.uiucdcs.1076>