summaryrefslogtreecommitdiffstats
path: root/Src/builtin.c
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@ipost.com>2021-04-13 21:30:06 -0700
committerBart Schaefer <schaefer@ipost.com>2021-04-13 21:30:06 -0700
commitf85cb4504561df0b486e3e140d4c0434516a0f7f (patch)
tree076e1c7ff63c0b59573f5f993e50b63791b7f651 /Src/builtin.c
parentunposted (cf. 48469): document oddness of ${emptystr[(i)]}. (diff)
parent48487 (amended): Failure test for math evaluation oddity (diff)
downloadzsh-declarednull.tar
zsh-declarednull.tar.gz
zsh-declarednull.tar.bz2
zsh-declarednull.tar.lz
zsh-declarednull.tar.xz
zsh-declarednull.tar.zst
zsh-declarednull.zip
Merge branch 'typesettounset' into declarednulldeclarednull
Adds 'setopt typeset_to_unset', documentation, failure tests for POSIX incompatibilies, etc.
Diffstat (limited to 'Src/builtin.c')
-rw-r--r--Src/builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index f0c490119..6d119f7a5 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -2491,7 +2491,7 @@ typeset_single(char *cname, char *pname, Param pm, UNUSED(int func),
return NULL;
}
}
- if (isset(POSIXBUILTINS))
+ if (isset(TYPESETTOUNSET))
pm->node.flags |= PM_DEFAULTED;
} else {
if (idigit(*pname))