Subject: CVS commit: basesrc/usr.bin/make
To: None <source-changes@netbsd.org>
From: Simon J. Gerraty <sjg@netbsd.org>
List: source-changes
Date: 11/26/2002 08:13:03
Module Name:	basesrc
Committed By:	sjg
Date:		Tue Nov 26 06:13:02 UTC 2002

Modified Files:
	basesrc/usr.bin/make: dir.c dir.h make.1 parse.c

Log Message:
Whenever we update .PATH, set the variable ${.PATH} to reflect the
search list that will be used.  Thus 'dot' and 'cur' will appear in
${.PATH} either at the start or end depending on .DOTLAST even though
they are not strictly in dirSearchPath.

When .CURDIR is assigned to - re-set the 'cur' Path.

Finally, when checking subdirs, look in 'dot' and 'cur' (first or last
depending on .DOTLAST) just as we do in other situations.


To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 basesrc/usr.bin/make/dir.c
cvs rdiff -r1.7 -r1.8 basesrc/usr.bin/make/dir.h
cvs rdiff -r1.68 -r1.69 basesrc/usr.bin/make/make.1
cvs rdiff -r1.84 -r1.85 basesrc/usr.bin/make/parse.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.