more searchpath-related changes

This commit is contained in:
rsc 2005-01-23 23:19:47 +00:00
parent 7c604f0ddf
commit de39860a2a
3 changed files with 3 additions and 1 deletions

View file

@ -100,7 +100,7 @@ void doredir(redir *rp)
word *searchpath(char *w){
word *path;
if(strncmp(w, "/", 1)==0
|| strncmp(w, "#", 1)==0
/* || strncmp(w, "#", 1)==0 */
|| strncmp(w, "./", 2)==0
|| strncmp(w, "../", 3)==0
|| (path=vlook("path")->val)==0)