summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2010-08-02 11:08:28 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2010-08-02 11:08:28 (GMT)
commit7acc2e334bb35fd4f53c2e0fd09035bd142e5a26 (patch)
treeb053af8a0d773fea3f5173f61f301fa750c8a6fb
parent2c99a69cafec5cc9658b02d3c5e3ac8a56358744 (diff)
downloadtcl-7acc2e334bb35fd4f53c2e0fd09035bd142e5a26.zip
tcl-7acc2e334bb35fd4f53c2e0fd09035bd142e5a26.tar.gz
tcl-7acc2e334bb35fd4f53c2e0fd09035bd142e5a26.tar.bz2
* generic/tclVar.c: correcting bad port of [Bug 3037525] fix
-rw-r--r--ChangeLog4
-rw-r--r--generic/tclVar.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d7f056d..08a658b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-02 Miguel Sofer <msofer@users.sf.net>
+
+ * generic/tclVar.c: correcting bad port of [Bug 3037525] fix
+
2010-07-28 Miguel Sofer <msofer@users.sf.net>
* generic/tclVar.c: fix for crash [Bug 3037525]: lose fickle
diff --git a/generic/tclVar.c b/generic/tclVar.c
index 7587eec..e3a5a32 100644
--- a/generic/tclVar.c
+++ b/generic/tclVar.c
@@ -16,7 +16,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.200 2010/07/31 20:28:04 msofer Exp $
+ * RCS: @(#) $Id: tclVar.c,v 1.201 2010/08/02 11:08:28 msofer Exp $
*/
#include "tclInt.h"
@@ -5329,7 +5329,7 @@ TclDeleteVars(
}
for (varPtr = VarHashFirstVar(tablePtr, &search); varPtr != NULL;
- varPtr = VarHashNextVar(&search)) {
+ varPtr = VarHashFirstVar(tablePtr, &search)) {
UnsetVarStruct(varPtr, NULL, iPtr, VarHashGetKey(varPtr), NULL, flags,
-1);
VarHashDeleteEntry(varPtr);