Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 12/01/1997 14:50:03
christos
Mon Dec 1 09:40:18 EST 1997
Update of /cvsroot/src/bin/sh
In directory netbsd1:/var/slash-tmp/cvs-serv15351
Modified Files:
show.c
Log Message:
Remove local declaration of getenv();
christos
Mon Dec 1 09:43:23 EST 1997
Update of /cvsroot/src/bin/sh
In directory netbsd1:/var/slash-tmp/cvs-serv15845
Modified Files:
expand.c
Log Message:
Unfortunately (as I expected) the previous change broke:
sleep
cmd='set `type "sleep"`; eval echo \$$#'
which=`eval $cmd`
echo $which
because the region did not get recorded at all, and it was interpreted as
a single word. I modified the code to keep track when the result of a
backquote expansion has been recorded to avoid recording it twice. I still
feel that this is not the right fix... More to come.