diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tclExecute.c | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2002-06-18 Miguel Sofer <msofer@users.sourceforge.net> + + * generic/tclExecute.c (TEBC, INST_DONE): small bug in the panic + code for tcl-stack corruption. + 2002-06-17 David Gravereaux <davygrvy@pobox.com> Trims to support the removal of RESOURCE_INCLUDED from rc diff --git a/generic/tclExecute.c b/generic/tclExecute.c index f5949af..2a340f0 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -11,7 +11,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.70 2002/06/17 22:52:51 hobbs Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.71 2002/06/18 13:22:21 msofer Exp $ */ #include "tclInt.h" @@ -1079,6 +1079,7 @@ TclExecuteByteCode(interp, codePtr) switch (*pc) { case INST_DONE: if (stackTop <= initStackTop) { + stackTop--; goto abnormalReturn; } |