From: utzoo!decvax!harpo!utah-cs!lepreau
Newsgroups: net.bugs.uucp
Title: Re: sigtramp() - (nf)
Article-I.D.: utah-cs.753
Posted: Thu Jun 10 09:14:20 1982
Received: Fri Jun 11 03:42:06 1982
References: uiucdcs.169

Well, I wouldn't want to bet on this, but I think you
might have just gotten lucky.  Blowing up with many C. files sounds
as if it's the off-by-one bug in iswrk() which was reported long
ago by Alan Watt & Art Feather (tho their fix had a typo):

< 	if (listp == NULL || *listp == NULL || listp > (list + LLEN)
---
> 	if (listp == NULL || *listp == NULL || listp >= (list + LLEN)
Have you installed this?

It looks to me as if wrkvec is only filled by the getargs routine when
parsing a single line of a C. file, and I don't think a C. file can get
anywhere near 20 fields.  Unless getargs is buggy...

BTW, the anlwrk.c inefficiency that utzoo!henry reported has been largely
fixed in the distributed 4.1bsd version; the loop is exited properly and LLEN
is 20.  Making it bigger yet ought to cut down on the amount of news and
mail delivered out of order.
	-jay lepreau