From 856bbed23b5e86158505683ed42197b071ca506d Mon Sep 17 00:00:00 2001 From: Miguel Sofer Date: Mon, 17 Sep 2001 12:29:04 +0000 Subject: corrected small bug in [Patch 456668] - the varFramePtr was not restored in one possible exit. --- ChangeLog | 7 ++++++- generic/tclExecute.c | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 612b511..c6da4ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,9 @@ -2001-09-13 Miguel Sofer +2001-09-17 Miguel Sofer + + * generic/tclExecute.c: corrected small bug in [Patch 456668] - + the varFramePtr was not restored in one possible exit. + +2001-09-17 Miguel Sofer * 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; -- cgit v0.12