bug in /usr/lib/refer/hunt

utzoo!decvax!harpo!seismo!rocheste!rick utzoo!decvax!harpo!seismo!rocheste!rick
Thu Nov 11 04:19:31 AEST 1982


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



More information about the Comp.bugs.4bsd.ucb-fixes mailing list