Subject: changed files: 'src/usr.bin/make str.c suff.c'
To: None <source-changes>
From: J.T. Conklin <jtc>
List: source-changes
Date: 03/22/1994 16:52:17
Update of /b/source/CVS/src/usr.bin/make
In directory sun-lamp.cs.berkeley.edu:/c/users/jtc/make
Modified Files:
str.c suff.c
Log Message:
Fixes from Christos Zoulas:
The following two patches fix a couple of problems with make(1)
1. Null Suffixes were not being copied, but they were being free'd
This caused rules of the form:
.c:
${CC} ...
to access invalid memory and potentially core dump..
[That was always broken; I did not break that one :-)]
2. My recent fixes to parse ${VAR:%.foo=%.bar} handled the null string
case incorrectly (${VAR:=.c} was broken).
------------------------------------------------------------------------------