summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2005-04-25 10:01:47 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2005-04-25 10:01:47 (GMT)
commit2f9355874f2214056407007d14118954c707d15d (patch)
tree45351d634c96d6a70c150254213bd80e7d6d57dc /generic/tclExecute.c
parentb6308600f2601f45bcc6707cda402c5b14087d2a (diff)
downloadtcl-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.c4
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++) {