[gnu.utils.bug] problem compiling make-3.54

ilan343@violet.berkeley.edu (07/01/89)

Has anyone successfully compiled the new version of make under SysV?
I tried to compile it in a 3B2 running SysV 3.0, with version 4.0 of
ATT's cc.

There were 3 "unresolved reference" diagnostics

file		function	

commands.c      sigmask	
glob.c		rindex
job.c   	getdtablesize

The first two were easily fixable.  But what about "getdtablesize"?
It looks like BSD to me.  It is not used anywhere else in the code.

Any hints?

seg@smsdpg.uu.net (Scott Garfinkle) (07/01/89)

From article <25930@agate.BERKELEY.EDU>, by ilan343@violet.berkeley.edu:
> ....But what about "getdtablesize"?
> It looks like BSD to me.  It is not used anywhere else in the code.

Easy fix:  use the parameter NOFILE from <sys/param.h>.  getdtablesize()
returns the number of file descriptors available per process in BSD.
	Scott E. Garfinkle
	SMS Data Products Group, Inc.
	(for now)