Searched refs:oldcur (Results 1 – 1 of 1) sorted by relevance
2861 char *oldcur, *dir; in setpwd() local2863 oldcur = dir = curdir; in setpwd()2866 setvar("OLDPWD", oldcur, VEXPORT); in setpwd()2870 if (physdir != oldcur) in setpwd()2874 if (oldcur == val || !val) { in setpwd()2881 if (oldcur != dir && oldcur != nullstr) { in setpwd()2882 free(oldcur); in setpwd()