From 3495dc5c275c7e3fe3517cfd20e2dc7f1cfa43db Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sat, 10 Jan 2015 10:31:06 -0800 Subject: 34213: in previous patch, do not change usepm if it is already set --- Src/builtin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/builtin.c b/Src/builtin.c index 8dee8f910..9258ddb6e 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -1934,7 +1934,7 @@ typeset_single(char *cname, char *pname, Param pm, UNUSED(int func), * We need to compare types with an existing pm if special, * even if that's unset */ - if (pm && (pm->node.flags & PM_SPECIAL)) + if (!usepm && pm && (pm->node.flags & PM_SPECIAL)) usepm = 2; /* indicate that we preserve the PM_UNSET flag */ /* -- cgit 1.4.1