diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2008-10-13 22:05:59 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2008-10-13 22:05:59 (GMT) |
commit | 14f6b32610b27825a293f10d6f449649f5109237 (patch) | |
tree | dfdd9e178c626a5b1bb010aaecaebf9f31387bde | |
parent | 609f145e4b123cb02812aa5f66ffc4992f4fb47c (diff) | |
download | tcl-14f6b32610b27825a293f10d6f449649f5109237.zip tcl-14f6b32610b27825a293f10d6f449649f5109237.tar.gz tcl-14f6b32610b27825a293f10d6f449649f5109237.tar.bz2 |
set array of Tcl_Obj's to the right size.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | generic/tclTest.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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; |