diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-05 22:06:09 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-05 22:06:09 +0000 |
commit | 9e87799fcbb99e9a333a257e44e1d2fa1fc04916 (patch) | |
tree | 9467894f001561a9abcb307859408475be28c020 | |
parent | ca4cc626d4ac7dbf5832bcd39cc159aae397e39f (diff) | |
download | zsh-9e87799fcbb99e9a333a257e44e1d2fa1fc04916.tar.gz zsh-9e87799fcbb99e9a333a257e44e1d2fa1fc04916.tar.xz zsh-9e87799fcbb99e9a333a257e44e1d2fa1fc04916.zip |
zsh-workers/9582
-rw-r--r-- | Src/builtin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c index a373d9dd2..a011e2e58 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -1616,7 +1616,7 @@ typeset_single(char *cname, char *pname, Param pm, int func, (apm = (Param) paramtab->getnode(paramtab, pm->ename))) uniqarray((*apm->gets.afn) (apm)); } - pm->flags = (pm->flags | on) & ~off; + pm->flags = (pm->flags | on) & ~(off | PM_UNSET); /* This auxlen/pm->ct stuff is a nasty hack. */ if ((on & (PM_LEFT | PM_RIGHT_B | PM_RIGHT_Z | PM_INTEGER | PM_EFLOAT | PM_FFLOAT)) && |