Lines Matching refs:oldpwd
60 char *oldpwd;
84 oldpwd = (char*)shp->pwd;
88 dir = sh_substitute(oldpwd,dir,argv[1]);
109 if(!oldpwd)
110 oldpwd = path_pwd(shp,1);
137 stakputs(oldpwd);
138 /* don't add '/' of oldpwd is / itself */
139 if(*oldpwd!='/' || oldpwd[1])
193 nv_putval(opwdnod,oldpwd,NV_RDONLY);
194 if(oldpwd)
195 free(oldpwd);