summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--generic/tclBasic.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index eee47e4..2dcac45 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-14 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclBasic.c: make the intial maxNestingDepth of an
+ interpreter be MAX_NESTING_DEPTH instead of a hardwired value
+ [Bug: 232564]
+
2001-08-13 Miguel Sofer <msofer@users.sourceforge.net>
* tests/trace.test: Corrected test numbers [Bug: 449794]
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index f27625a..3f3d099 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclBasic.c,v 1.33 2001/05/30 08:57:06 dkf Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.34 2001/08/14 13:45:57 msofer Exp $
*/
#include "tclInt.h"
@@ -314,7 +314,7 @@ Tcl_CreateInterp()
Tcl_InitHashTable(&iPtr->mathFuncTable, TCL_STRING_KEYS);
iPtr->numLevels = 0;
- iPtr->maxNestingDepth = 1000;
+ iPtr->maxNestingDepth = MAX_NESTING_DEPTH;
iPtr->framePtr = NULL;
iPtr->varFramePtr = NULL;
iPtr->activeTracePtr = NULL;