summaryrefslogtreecommitdiffstats
path: root/generic/tclNamesp.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2001-06-28 12:43:33 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2001-06-28 12:43:33 (GMT)
commitbe317297cf2254b62ff4e0aa930c1de525bfbe9b (patch)
treed1d645eec1b5c452a12ace4aca581a7542e2e390 /generic/tclNamesp.c
parentad089734d46b752197f9573a90e85d67b6870083 (diff)
downloadtcl-be317297cf2254b62ff4e0aa930c1de525bfbe9b.zip
tcl-be317297cf2254b62ff4e0aa930c1de525bfbe9b.tar.gz
tcl-be317297cf2254b62ff4e0aa930c1de525bfbe9b.tar.bz2
Correction to faulty patch for bug #231259
Diffstat (limited to 'generic/tclNamesp.c')
-rw-r--r--generic/tclNamesp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c
index e570c24..5b4fdd3 100644
--- a/generic/tclNamesp.c
+++ b/generic/tclNamesp.c
@@ -19,7 +19,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclNamesp.c,v 1.24 2001/05/26 01:25:59 msofer Exp $
+ * RCS: @(#) $Id: tclNamesp.c,v 1.25 2001/06/28 12:43:33 msofer Exp $
*/
#include "tclInt.h"
@@ -2293,7 +2293,7 @@ TclResetShadowedCmdRefs(interp, newCmdPtr)
* for a fresh compilation of every bytecode.
*/
- if ((((Command *) hPtr)->compileProc) != NULL) {
+ if ((((Command *) Tcl_GetHashValue(hPtr))->compileProc) != NULL) {
nsPtr->resolverEpoch++;
}
}