From 941ed744af07b52dc23da037860e97af77df042f Mon Sep 17 00:00:00 2001 From: dkf Date: Fri, 14 Sep 2007 14:58:06 +0000 Subject: Only invalidate the namespace path once on command creation. [1519940] --- ChangeLog | 5 +++++ generic/tclBasic.c | 3 +-- 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 + + * generic/tclBasic.c (Tcl_CreateObjCommand): Only invalidate along the + namespace path once; that is enough. [Bug 1519940] + 2007-09-14 Daniel Steffen * 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); -- cgit v0.12