summaryrefslogtreecommitdiffstats
path: root/generic/tclMain.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-26 07:42:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-26 07:42:53 (GMT)
commitd751f58f9df9e295e2e46473de75dab61c415df3 (patch)
treeff6803454708bb81b4d00933974b1e0952746c35 /generic/tclMain.c
parent07bfe18a2176bfefdb0e56c04feafdef483e9e5b (diff)
downloadtcl-d751f58f9df9e295e2e46473de75dab61c415df3.zip
tcl-d751f58f9df9e295e2e46473de75dab61c415df3.tar.gz
tcl-d751f58f9df9e295e2e46473de75dab61c415df3.tar.bz2
Proposed solution for [9b2e636361]
Diffstat (limited to 'generic/tclMain.c')
-rw-r--r--generic/tclMain.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c
index 7a19a38..5e5109b 100644
--- a/generic/tclMain.c
+++ b/generic/tclMain.c
@@ -342,9 +342,10 @@ Tcl_Main(
Tcl_Interp *interp;
Tcl_DString appName;
- Tcl_FindExecutable(argv[0]);
-
interp = Tcl_CreateInterp();
+ TclpSetInitialEncodings();
+ TclpFindExecutable(argv[0]);
+
Tcl_InitMemory(interp);
/*