summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2007-06-25 13:19:54 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2007-06-25 13:19:54 (GMT)
commitca65b748e14af3463c7ed5b7f5af25cac72cc747 (patch)
treeef18b4eca9829d2b2daa03818dafcb32dab5206a
parente4adf4810fc98f034ee61c63c74cc33877cd4a56 (diff)
downloadtcl-ca65b748e14af3463c7ed5b7f5af25cac72cc747.zip
tcl-ca65b748e14af3463c7ed5b7f5af25cac72cc747.tar.gz
tcl-ca65b748e14af3463c7ed5b7f5af25cac72cc747.tar.bz2
* generic/tclVar.c (UnsetVarStruct): fixing incomplete change
-rw-r--r--ChangeLog4
-rw-r--r--generic/tclVar.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d71789..5359ca2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-06-25 Miguel Sofer <msofer@users.sf.net>
+
+ * generic/tclVar.c (UnsetVarStruct): fixing incomplete change
+
2007-06-24 Miguel Sofer <msofer@users.sf.net>
* generic/tclVar.c (TclDeleteCompiledLocalVars): removed inlining
diff --git a/generic/tclVar.c b/generic/tclVar.c
index 87a293a..3a83037 100644
--- a/generic/tclVar.c
+++ b/generic/tclVar.c
@@ -15,7 +15,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclVar.c,v 1.140 2007/06/24 18:18:28 msofer Exp $
+ * RCS: @(#) $Id: tclVar.c,v 1.141 2007/06/25 13:19:58 msofer Exp $
*/
#include "tclInt.h"
@@ -2122,7 +2122,7 @@ UnsetVarStruct(
part1 = TclGetString(part1Ptr);
}
- dummyVar.flags &= ~VAR_TRACE_ACTIVE;
+ dummyVarPtr->flags &= ~VAR_TRACE_ACTIVE;
TclCallVarTraces(iPtr, arrayPtr, dummyVarPtr, part1, part2, (flags
& (TCL_GLOBAL_ONLY|TCL_NAMESPACE_ONLY))
| TCL_TRACE_UNSETS, /* leaveErrMsg */ 0);