Subject: CVS commit: src/usr.bin/make
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 02/24/2007 17:55:54
Module Name: src
Committed By: dsl
Date: Sat Feb 24 17:55:54 UTC 2007
Modified Files:
src/usr.bin/make: parse.c
Log Message:
Don't increment 'cp' twice when looking for commands following ';' on a
dependency line.
This makes the line "foo:;echo bar" not try to execute "cho bar", and the
line "baz:;" not treat the rest of the makefile as commands.
Pointed out by Takahiro Kambe on current-users.
To generate a diff of this commit:
cvs rdiff -r1.132 -r1.133 src/usr.bin/make/parse.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.