about summary refs log tree commit diff
path: root/Src/builtin.c
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@ipost.com>2021-04-10 14:10:21 -0700
committerBart Schaefer <schaefer@ipost.com>2021-04-10 14:13:02 -0700
commite67ccd7f1efae7696dc17f6e3e720cd994e90155 (patch)
tree453c16b9f1a2bfbcc7ce1335eecaea152a3c413f /Src/builtin.c
parent13f85796ac15c871cf760f6415424f4f96c0a460 (diff)
downloadzsh-e67ccd7f1efae7696dc17f6e3e720cd994e90155.tar.gz
zsh-e67ccd7f1efae7696dc17f6e3e720cd994e90155.tar.xz
zsh-e67ccd7f1efae7696dc17f6e3e720cd994e90155.zip
Add TYPESET_DOES_NOT_SET option (cf. 48469)
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..edd4cad44 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(TYPESETDOESNOTSET))
 	    pm->node.flags |= PM_DEFAULTED;
     } else {
 	if (idigit(*pname))