*BSD News Article 81628


Return to BSD News archive

Newsgroups: comp.bugs.2bsd
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!uwm.edu!news-peer.gsl.net!news.gsl.net!howland.erols.net!newsfeed.internetmci.com!in1.uu.net!nntp.netrex.net!wlbr!moe.2bsd.com!sms
From: sms@moe.2bsd.com (Steven M. Schultz)
Subject: make chokes on /usr/src/man/man1 (#3??)
Organization: 2BSD, Simi Valley CA USA
Message-ID: <DzynDK.Izp@moe.2bsd.com>
Date: Mon, 28 Oct 1996 00:44:08 GMT
Lines: 115

Subject: make chokes on /usr/src/man/man1 (#3??)
Index:	bin/make/defs 2.11BSD

Description:
	Make can not handle the chapter 1 man page source directory.

Repeat-By:
	cd /usr/src/man/man1
	make

	Note that eventually the error "Hash table overflow" is generated.

Fix:
	Some time over the last year the number of man pages in chapter 1
	exceeded make's limits.

	The ideal fix would be to move many (if not most) of the manpages
	into the program/utility source directories to which the manpages
	belong.  

	Since that would be rather disruptive the alternative was to
	slightly increase the hash table size in make.

	Cut where indicated, saving to a file (/tmp/333).  Then:

		patch -p0 < /tmp/333
		cd /usr/src/bin/make
		make
		make install
		make clean

	As always this and previous updates to 2.11BSD are available via
	anonymous FTP to either FTP.IIPO.GTEGSC.COM or MOE.2BSD.COM in
	the directory /pub/2.11BSD.

--------------------cut here---------------
*** /usr/src/bin/make/defs.old	Sun Aug 11 12:04:37 1991
--- /usr/src/bin/make/defs	Sun Oct 27 16:03:46 1996
***************
*** 1,4 ****
! /* defs 4.10 86/03/22 */
  #include <stdio.h>
  #include <ctype.h>
  #include <sys/param.h>
--- 1,4 ----
! /* defs 4.10.1 1996/10/27 */
  #include <stdio.h>
  #include <ctype.h>
  #include <sys/param.h>
***************
*** 22,29 ****
  #define YES 1
  
  #define unequal strcmp
! #ifdef BSD2_10
! #define HASHSIZE 509
  #define NLEFTS 80
  #define NCHARS 500
  #define NINTS  250
--- 22,29 ----
  #define YES 1
  
  #define unequal strcmp
! #ifdef pdp11
! #define HASHSIZE 541
  #define NLEFTS 80
  #define NCHARS 500
  #define NINTS  250
***************
*** 30,36 ****
  #define INMAX 1350
  #define OUTMAX 2300
  #define MAXDIR	10
! #else !BSD2_10
  #define HASHSIZE 1021
  #define NLEFTS 512
  #define NCHARS 500
--- 30,36 ----
  #define INMAX 1350
  #define OUTMAX 2300
  #define MAXDIR	10
! #else !pdp11
  #define HASHSIZE 1021
  #define NLEFTS 512
  #define NCHARS 500
***************
*** 38,44 ****
  #define INMAX 7000
  #define OUTMAX 7000
  #define MAXDIR 10
! #endif BSD2_10
  #define QBUFMAX 5000
  
  #define ALLDEPS  1
--- 38,44 ----
  #define INMAX 7000
  #define OUTMAX 7000
  #define MAXDIR 10
! #endif /* pdp11 */
  #define QBUFMAX 5000
  
  #define ALLDEPS  1
*** /VERSION.old	Mon Sep 30 19:37:16 1996
--- /VERSION	Sun Oct 27 16:30:59 1996
***************
*** 1,4 ****
! Current Patch Level: 332
  
  2.11 BSD
  ============
--- 1,4 ----
! Current Patch Level: 333
  
  2.11 BSD
  ============