[comp.bugs.4bsd] make VPATH feature uses *

chris@mimsy.UUCP (Chris Torek) (05/05/87)

Index: bin/make 4.3BSD Fix

Description:
	Make tests *(char *)0 if there is no VPATH set in the Makefile
	or the environment.

Repeat-By:
	Examination; or compile it on a Sun.

Fix:
RCS file: RCS/files.c,v
retrieving revision 1.1
diff -c2 -r1.1 files.c
*** /tmp/,RCSt1005315	Mon May  4 22:30:34 1987
--- files.c	Mon May  4 22:29:18 1987
***************
*** 224,228 ****
  	filepat = pat;
  	cp = varptr("VPATH");
! 	if (*cp->varval == 0) path = ".";
  	else {
  	       path = pth; 
--- 224,228 ----
  	filepat = pat;
  	cp = varptr("VPATH");
! 	if (cp->varval == NULL) path = ".";
  	else {
  	       path = pth; 
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
Domain:	chris@mimsy.umd.edu	Path:	seismo!mimsy!chris