Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.bugs.4bsd Subject: make VPATH feature uses *(char *)NULL Message-ID: <6550@mimsy.UUCP> Date: Mon, 4-May-87 22:33:56 EDT Article-I.D.: mimsy.6550 Posted: Mon May 4 22:33:56 1987 Date-Received: Tue, 5-May-87 06:16:11 EDT Reply-To: chris@mimsy.UUCP (Chris Torek) Organization: University of Maryland, Dept. of Computer Sci. Lines: 31 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