diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | generic/tclExecute.c | 3 |
2 files changed, 8 insertions, 2 deletions
@@ -1,4 +1,9 @@ -2001-09-13 Miguel Sofer <msofer@users.sourceforge.net> +2001-09-17 Miguel Sofer <msofer@users.sourceforge.net> + + * generic/tclExecute.c: corrected small bug in [Patch 456668] - + the varFramePtr was not restored in one possible exit. + +2001-09-17 Miguel Sofer <msofer@users.sourceforge.net> * doc/tclvars.n: * generic/tclCompile.c: diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 7ce214b..e1d143b 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclExecute.c,v 1.30 2001/09/17 11:51:58 msofer Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.31 2001/09/17 12:29:05 msofer Exp $ */ #include "tclInt.h" @@ -5420,6 +5420,7 @@ Tcl_GetCommandFromObj(interp, objPtr) if (cmdPtr == NULL) { result = tclCmdNameType.setFromAnyProc(interp, objPtr); if (result != TCL_OK) { + iPtr->varFramePtr = savedFramePtr; return (Tcl_Command) NULL; } resPtr = (ResolvedCmdName *) objPtr->internalRep.otherValuePtr; |