[net.bugs.4bsd] bug in /usr/lib/refer/hunt

rick (11/11/82)

There is a rather unfortunate bug in hunt which can cause it to throw
away information (without warning) when used on large inverted files.
The problem is that the test for internal list overflow is done
in the wrong place.  The following is a quick fix:

0a1,3
> /*	revisions: 11-Nov-82 (raf, U of R) correct test for list overflow.
>  */
> 
80d82
< 	_assert (i<lmaster);
89a92
> _assert (i<lmaster);		/* check for list overflow */


					rick floyd
					...!seismo!rochester!rick