1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 16:50:58 +01:00

35826: add getsparam_u() to return unmetafied string, use it for a number of references to non-special params

This commit is contained in:
Barton E. Schaefer 2015-07-22 12:52:24 -07:00
parent 045bd4e3a6
commit a1f8d4ffc7
9 changed files with 38 additions and 20 deletions

View file

@ -1426,7 +1426,7 @@ sourcehome(char *s)
char *h;
queue_signals();
if (EMULATION(EMULATE_SH|EMULATE_KSH) || !(h = getsparam("ZDOTDIR"))) {
if (EMULATION(EMULATE_SH|EMULATE_KSH) || !(h = getsparam_u("ZDOTDIR"))) {
h = home;
if (!h)
return;