From 2f9355874f2214056407007d14118954c707d15d Mon Sep 17 00:00:00 2001 From: Miguel Sofer Date: Mon, 25 Apr 2005 10:01:47 +0000 Subject: * generic/tclExecute.c: fix for [Bug 1189274]. --- ChangeLog | 4 ++++ generic/tclExecute.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index aab0311..666c4fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-04-25 Miguel Sofer + + * generic/tclExecute.c: fix for [Bug 1189274]. + 2005-04-24 Don Porter * generic/tclLiteral.c: Silence compiler warnings. diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 8e4a04d..f75f0dd 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.184 2005/04/22 15:46:54 dgp Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.185 2005/04/25 10:01:55 msofer Exp $ */ #include "tclInt.h" @@ -4724,7 +4724,7 @@ TclExecuteByteCode(interp, codePtr) listVarPtr = &(compiledLocals[listTmpIndex]); listPtr = listVarPtr->value.objPtr; - TclListObjGetElements(listPtr, listLen, elements); + Tcl_ListObjGetElements(interp, listPtr, &listLen, &elements); valIndex = (iterNum * numVars); for (j = 0; j < numVars; j++) { -- cgit v0.12