diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2007-07-04 23:56:57 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2007-07-04 23:56:57 (GMT) |
commit | 56b81839c7271c23ed51776a7a922d3a49fce775 (patch) | |
tree | f133ccfd49ffefe5a864725233fa53011efb8ec7 /generic/tclObj.c | |
parent | f41a7b9a9464e3211cf4935e2d0d56994cd727c7 (diff) | |
download | tcl-56b81839c7271c23ed51776a7a922d3a49fce775.zip tcl-56b81839c7271c23ed51776a7a922d3a49fce775.tar.gz tcl-56b81839c7271c23ed51776a7a922d3a49fce775.tar.bz2 |
* generic/tclNamesp.c: Fix case where a FQ cmd or ns was being
* generic/tclObj.c: cached in a different interp, tkcon
[Bug 1747512]
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r-- | generic/tclObj.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c index 8a43b38..58f1c97 100644 --- a/generic/tclObj.c +++ b/generic/tclObj.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclObj.c,v 1.127 2007/06/11 23:00:44 msofer Exp $ + * RCS: @(#) $Id: tclObj.c,v 1.128 2007/07/04 23:56:58 msofer Exp $ */ #include "tclInt.h" @@ -3489,6 +3489,7 @@ Tcl_GetCommandFromObj( if ((objPtr->typePtr != &tclCmdNameType) || (resPtr == NULL) || (cmdPtr = resPtr->cmdPtr, cmdPtr->cmdEpoch != resPtr->cmdEpoch) + || (interp != cmdPtr->nsPtr->interp) || (cmdPtr->flags & CMD_IS_DELETED) || ((resPtr->refNsPtr != NULL) && (((refNsPtr = (Namespace *) TclGetCurrentNamespace(interp)) |