1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 18:30:55 +01:00

zsh-3.1.5-pws-7

This commit is contained in:
Tanaka Akira 1999-04-15 18:14:01 +00:00
parent 7a40d6c258
commit 850fb2e7f9
35 changed files with 1137 additions and 507 deletions

View file

@ -1500,7 +1500,7 @@ setsparam(char *s, char *val)
} else {
if (!(v = getvalue(&s, 1)))
createparam(t, PM_SCALAR);
else if (PM_TYPE(v->pm->flags) == PM_ARRAY &&
else if ((PM_TYPE(v->pm->flags) & (PM_ARRAY|PM_HASHED)) &&
!(v->pm->flags & (PM_SPECIAL|PM_TIED)) && unset(KSHARRAYS)) {
unsetparam(t);
createparam(t, PM_SCALAR);