summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2007-11-28 00:26:16 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2007-11-28 00:26:16 (GMT)
commita5b75d5aa69542635409085c5cc34dcdf97eeecc (patch)
treef38d23adf7e0dc96670f496ac011d887d489aa2c /generic/tclBasic.c
parent2bb4594876511ab2fa53c367f2677f9105fe7bb2 (diff)
downloadtcl-a5b75d5aa69542635409085c5cc34dcdf97eeecc.zip
tcl-a5b75d5aa69542635409085c5cc34dcdf97eeecc.tar.gz
tcl-a5b75d5aa69542635409085c5cc34dcdf97eeecc.tar.bz2
* generic/tclBasic.c: remove unneeded call in Tcl_CreateInterp,
add comments
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 0741813..ed2d2d1 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.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: tclBasic.c,v 1.285 2007/11/26 19:11:11 msofer Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.286 2007/11/28 00:26:16 msofer Exp $
*/
#include "tclInt.h"
@@ -609,6 +609,11 @@ Tcl_CreateInterp(void)
iPtr->pendingObjDataPtr = NULL;
iPtr->asyncReadyPtr = TclGetAsyncReadyPtr();
+ /*
+ * Insure that the stack checking mechanism for this interp is
+ * initialized.
+ */
+
GetCStackParams(iPtr);
/*
@@ -831,13 +836,6 @@ Tcl_CreateInterp(void)
Tcl_Panic(Tcl_GetString(Tcl_GetObjResult(interp)));
}
- /*
- * Insure that the stack checking mechanism for this interp is
- * initialized.
- */
-
- TclInterpReady(interp);
-
return interp;
}