summaryrefslogtreecommitdiffstats
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
parentb6308600f2601f45bcc6707cda402c5b14087d2a (diff)
downloadtcl-2f9355874f2214056407007d14118954c707d15d.zip
tcl-2f9355874f2214056407007d14118954c707d15d.tar.gz
tcl-2f9355874f2214056407007d14118954c707d15d.tar.bz2
* generic/tclExecute.c: fix for [Bug 1189274].
-rw-r--r--ChangeLog4
-rw-r--r--generic/tclExecute.c4
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 <msofer@users.sf.net>
+
+ * generic/tclExecute.c: fix for [Bug 1189274].
+
2005-04-24 Don Porter <dgp@users.sourceforge.net>
* 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++) {