Subject: CVS commit: src/usr.bin/make
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 12/04/2006 21:34:47
Module Name:	src
Committed By:	dsl
Date:		Mon Dec  4 21:34:47 UTC 2006

Modified Files:
	src/usr.bin/make: make.h parse.c targ.c

Log Message:
There really is no point calling estrdup() to get a copy of the makefile name
into every 'gnode' (aka target), instead just copy a pointer to the string
and avoid freeing the original name when we close the file.
I can't imagine any makefile set where this gives a larger footprint!


To generate a diff of this commit:
cvs rdiff -r1.64 -r1.65 src/usr.bin/make/make.h
cvs rdiff -r1.121 -r1.122 src/usr.bin/make/parse.c
cvs rdiff -r1.45 -r1.46 src/usr.bin/make/targ.c

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