summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-09-14 14:58:06 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-09-14 14:58:06 (GMT)
commit941ed744af07b52dc23da037860e97af77df042f (patch)
tree632f548cdfc851bc84509d5961ae499e8760a853
parent01cdf286cdaf695c134c384cc810de244b5308d3 (diff)
downloadtcl-941ed744af07b52dc23da037860e97af77df042f.zip
tcl-941ed744af07b52dc23da037860e97af77df042f.tar.gz
tcl-941ed744af07b52dc23da037860e97af77df042f.tar.bz2
Only invalidate the namespace path once on command creation. [1519940]
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclBasic.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 948e222..ec48e4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-09-14 Donal K. Fellows <donal.k.fellows@man.ac.uk>
+
+ * generic/tclBasic.c (Tcl_CreateObjCommand): Only invalidate along the
+ namespace path once; that is enough. [Bug 1519940]
+
2007-09-14 Daniel Steffen <das@users.sourceforge.net>
* generic/tclDTrace.d (new file): add DTrace provider for Tcl; allows
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index f2490ef..f06c029 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclBasic.c,v 1.268 2007/09/13 15:27:06 das Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.269 2007/09/14 14:58:07 dkf Exp $
*/
#include "tclInt.h"
@@ -1981,7 +1981,6 @@ Tcl_CreateObjCommand(
*/
TclInvalidateNsCmdLookup(nsPtr);
- TclInvalidateNsPath(nsPtr);
}
cmdPtr = (Command *) ckalloc(sizeof(Command));
Tcl_SetHashValue(hPtr, cmdPtr);