summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatthoyts@users.sourceforge.net <patthoyts>2008-10-13 22:05:59 (GMT)
committerpatthoyts@users.sourceforge.net <patthoyts>2008-10-13 22:05:59 (GMT)
commit8ea6af696af9be3d575099a28b543b028a1ddd7b (patch)
treedfdd9e178c626a5b1bb010aaecaebf9f31387bde
parent07e394d0c55bdea77fc6778d0d4e70d3c9b06b59 (diff)
downloadtcl-8ea6af696af9be3d575099a28b543b028a1ddd7b.zip
tcl-8ea6af696af9be3d575099a28b543b028a1ddd7b.tar.gz
tcl-8ea6af696af9be3d575099a28b543b028a1ddd7b.tar.bz2
set array of Tcl_Obj's to the right size.
-rw-r--r--ChangeLog4
-rw-r--r--generic/tclTest.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ba5dcd..858ad7f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-13 Pat Thoyts <patthoyts@users.sourceforge.net>
+
+ * generic/tclTest.c (TestNRELevels): set array to the right size
+
2008-10-13 Donal K. Fellows <dkf@users.sf.net>
* generic/tclOOInfo.c (InfoClassDestrCmd): Handle error case.
diff --git a/generic/tclTest.c b/generic/tclTest.c
index 76252eb..74d255e 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclTest.c,v 1.126 2008/10/05 22:25:35 nijtmans Exp $
+ * RCS: @(#) $Id: tclTest.c,v 1.127 2008/10/13 22:05:59 patthoyts Exp $
*/
#define TCL_TEST
@@ -6550,7 +6550,7 @@ TestNRELevels(
Interp *iPtr = (Interp *) interp;
static ptrdiff_t *refDepth = NULL;
ptrdiff_t depth;
- Tcl_Obj *levels[5];
+ Tcl_Obj *levels[6];
int i = 0;
TEOV_callback *cbPtr = ((Interp *) interp)->execEnvPtr->callbackPtr;