about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-03-08 15:50:50 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-03-08 15:50:50 +0000
commit80ec63bfa7fa4e6349442aea87fdbe0b80e2e44c (patch)
tree94822fb89c32e179b41f9f74bb1aa2660221101c
parent2c858b890b5ae3284911bcf74a84ecb50303e122 (diff)
downloadzsh-80ec63bfa7fa4e6349442aea87fdbe0b80e2e44c.tar.gz
zsh-80ec63bfa7fa4e6349442aea87fdbe0b80e2e44c.tar.xz
zsh-80ec63bfa7fa4e6349442aea87fdbe0b80e2e44c.zip
22337: debugging code omitted from 22331
-rw-r--r--ChangeLog4
-rw-r--r--Src/builtin.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9bf50969a..adb17988b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-03-08  Peter Stephenson  <pws@csr.com>
+
+	* 22337: Src/builtin.c: debugging code omitted from 22331.
+
 2006-03-07  Wayne Davison  <wayned@users.sourceforge.net>
 
 	* 22301: Completion/Base/Completer/_expand: enable alises for the
diff --git a/Src/builtin.c b/Src/builtin.c
index cff2ebe46..7dca28a58 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -2142,7 +2142,7 @@ typeset_single(char *cname, char *pname, Param pm, UNUSED(int func),
 	if (!(pm = setsparam(pname, ztrdup(value))))
 	    return NULL;
 	if (pm != ipm) {
-	    DPUTS(ipm->flags != pm->flags,
+	    DPUTS(ipm->node.flags != pm->node.flags,
 		  "BUG: parameter recreated with wrong flags");
 	    unsetparam_pm(ipm, 0, 1);
 	}