Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



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.




Home | Main Index | Thread Index | Old Index