ancient RCS [bug|feature]?

Rahul Dhesi dhesi%cirrusl at oliveb.ATC.olivetti.com
Tue Feb 5 07:31:36 AEST 1991


In <866 at voodoo.UUCP> tomm at voodoo.boeing.com (Tom Mackey) writes:

>    co error, line 1201: Hashtable overflow
>    co aborted

>So how about it.... anyone else find this, how did you cope with
>it (we obviously have to split the ,v files, but what's the most
>nifty way)..

I came upon the hashtable limit a few months ago, when checking out a
very large file.  The solution was simple and quick:  I changed the
value of hshsize in rcsbase.h and recompiled the RCS stuff.  The RCS
source is freely distributable and available from the Free Software
Foundation.

===================================================================
RCS file: RCS/rcsbase.h,v
retrieving revision 1.1
diff -r1.1 rcsbase.h
5c5
< #define RCSBASE "$Id: rcsbase.h,v 1.1 90/11/28 18:24:18 dhesi Exp $"
---
> #define RCSBASE "$Id: rcsbase.h,v 1.2 90/11/28 18:29:49 dhesi Exp $"
54a55,58
>  * Revision 1.2  90/11/28  18:29:49  dhesi
>  * We were seeing hash table overflow when looking at /stride/changes.
>  * Increased size of hash table to 547 (was 239).
>  * 
167,168c171,172
< #define hshsize           239 /* hashtable size; MUST be prime and -1 mod 4 */
<                               /* other choices: 547 or 719                  */
---
> #define hshsize           547 /* hashtable size; MUST be prime and -1 mod 4 */
>                               /* choices: 239, 547, or 719                  */
--
Rahul Dhesi <dhesi%cirrusl at oliveb.ATC.olivetti.com>
UUCP:  oliveb!cirrusl!dhesi



More information about the Comp.unix.misc mailing list