diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2010-08-02 11:08:28 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2010-08-02 11:08:28 (GMT) |
commit | 7acc2e334bb35fd4f53c2e0fd09035bd142e5a26 (patch) | |
tree | b053af8a0d773fea3f5173f61f301fa750c8a6fb /generic/tclVar.c | |
parent | 2c99a69cafec5cc9658b02d3c5e3ac8a56358744 (diff) | |
download | tcl-7acc2e334bb35fd4f53c2e0fd09035bd142e5a26.zip tcl-7acc2e334bb35fd4f53c2e0fd09035bd142e5a26.tar.gz tcl-7acc2e334bb35fd4f53c2e0fd09035bd142e5a26.tar.bz2 |
* generic/tclVar.c: correcting bad port of [Bug 3037525] fix
Diffstat (limited to 'generic/tclVar.c')
-rw-r--r-- | generic/tclVar.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |