Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site mplvax.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxj!houxm!whuxlm!akgua!sdcsvax!sdcc3!mplvax!cdl
From: cdl@mplvax.UUCP (Carl Lowenstein)
Newsgroups: net.sources.bugs
Subject: Re: Unix `vc' spreadsheet.
Message-ID: <166@mplvax.UUCP>
Date: Thu, 3-Jan-85 20:41:32 EST
Article-I.D.: mplvax.166
Posted: Thu Jan  3 20:41:32 1985
Date-Received: Sat, 5-Jan-85 02:35:43 EST
References: <78@tove.UUCP>
Reply-To: cdl@mplvax.UUCP (Carl Lowenstein)
Distribution: net
Organization: Marine Physical Laborator of SIO at UCSD
Lines: 20
Summary: 

Whoever modified 'sc.h' to read
					#define MAXROWS 500
and left it saying a few lines later
					char row,col;
didn't do anybody any favors!
If MAXROWS is going to be >127, then row had better be at least short.

Likewise, about line 228 of 'sc.c' I would believe

	if (currow >= MAXROWS - 1 || maxrow >= MAXROWS - 1)

while checking for overflow of the number of rows.

Note also that the manual page 'vc.1' doesn't describe all of the commands
which are various cases in the main switch of 'sc.c' but I haven't
figured them all out yet.  Also the manual page implies MAXROWS=100.

-- 
	carl lowenstein		marine physical lab	u.c. san diego
	{ihnp4|decvax|akgua|dcdwest|ucbvax}	!sdcsvax!mplvax!cdl