summaryrefslogtreecommitdiffstats
path: root/generic/tclMain.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-27 09:53:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-27 09:53:04 (GMT)
commitffbe67c65253a900b98f481ed64d4928f470adb9 (patch)
treecbefee17d73ae6aa5b48ee0bd65f8ed3162d8e46 /generic/tclMain.c
parentd8238136ac782aaade9c86e8db5ce955a6f78937 (diff)
parenta57835e07ae4443feed31888c2fdb0e44b2748e0 (diff)
downloadtcl-ffbe67c65253a900b98f481ed64d4928f470adb9.zip
tcl-ffbe67c65253a900b98f481ed64d4928f470adb9.tar.gz
tcl-ffbe67c65253a900b98f481ed64d4928f470adb9.tar.bz2
merge trunk.
Remove Tcl_SetPanicProc from stub table; it is meant to be called by embedders, before the stub table is even initialized.
Diffstat (limited to 'generic/tclMain.c')
-rw-r--r--generic/tclMain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c
index 63e7464..875ccc3 100644
--- a/generic/tclMain.c
+++ b/generic/tclMain.c
@@ -317,6 +317,9 @@ Tcl_MainEx(
Tcl_Channel chan;
InteractiveState is;
+ TclpSetInitialEncodings();
+ TclpFindExecutable((const char *)argv[0]);
+
Tcl_InitMemory(interp);
is.interp = interp;