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)
commitb7baefb37be1711dc8aefbbed9e9670b0926e1be (patch)
treeff6803454708bb81b4d00933974b1e0952746c35 /generic/tclMain.c
parent61ab4e7385f66e8fbbfdae5b63d6548c62875ceb (diff)
downloadtcl-b7baefb37be1711dc8aefbbed9e9670b0926e1be.zip
tcl-b7baefb37be1711dc8aefbbed9e9670b0926e1be.tar.gz
tcl-b7baefb37be1711dc8aefbbed9e9670b0926e1be.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);
/*