Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!tymix!cirrusl!sunstorm!dhesi From: dhesi%cirrusl@oliveb.ATC.olivetti.com (Rahul Dhesi) Newsgroups: comp.unix.misc Subject: Re: ancient RCS [bug|feature]? Message-ID: <2926@cirrusl.UUCP> Date: 4 Feb 91 20:31:36 GMT References: <866@voodoo.UUCP> Sender: news@cirrusl.UUCP Organization: Cirrus Logic Inc. Lines: 37 In <866@voodoo.UUCP> tomm@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 UUCP: oliveb!cirrusl!dhesi