diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2005-04-25 10:01:47 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2005-04-25 10:01:47 (GMT) |
commit | 2f9355874f2214056407007d14118954c707d15d (patch) | |
tree | 45351d634c96d6a70c150254213bd80e7d6d57dc /generic/tclExecute.c | |
parent | b6308600f2601f45bcc6707cda402c5b14087d2a (diff) | |
download | tcl-2f9355874f2214056407007d14118954c707d15d.zip tcl-2f9355874f2214056407007d14118954c707d15d.tar.gz tcl-2f9355874f2214056407007d14118954c707d15d.tar.bz2 |
* generic/tclExecute.c: fix for [Bug 1189274].
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r-- | generic/tclExecute.c | 4 |
1 files changed, 2 insertions, 2 deletions
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++) { |