sh.func.c (tcsh-6.22.02) | : | sh.func.c (tcsh-6.22.03) | ||
---|---|---|---|---|
skipping to change at line 1517 | skipping to change at line 1517 | |||
GotTermCaps = 0; | GotTermCaps = 0; | |||
ed_Init(); | ed_Init(); | |||
return; | return; | |||
} | } | |||
if (eq(vp, STRKHOME)) { | if (eq(vp, STRKHOME)) { | |||
Char *canon; | Char *canon; | |||
/* | /* | |||
* convert to canonical pathname (possibly resolving symlinks) | * convert to canonical pathname (possibly resolving symlinks) | |||
*/ | */ | |||
canon = dcanon(lp, lp); | ||||
cleanup_ignore(lp); | cleanup_ignore(lp); | |||
cleanup_until(lp); | canon = dcanon(lp, lp); | |||
cleanup_push(canon, xfree); | cleanup_push(canon, xfree); | |||
setv(STRhome, quote(canon), VAR_READWRITE); /* lp memory used here */ | setv(STRhome, quote(canon), VAR_READWRITE); /* lp memory used here */ | |||
cleanup_ignore(canon); | cleanup_ignore(canon); | |||
cleanup_until(canon); | cleanup_until(canon); | |||
/* fix directory stack for new tilde home */ | /* fix directory stack for new tilde home */ | |||
dtilde(); | dtilde(); | |||
return; | return; | |||
} | } | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added |