diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-03-29 07:49:09 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-03-29 07:49:09 (GMT) |
commit | 66231738720084435ccd1408fa0025ae9a79bbb2 (patch) | |
tree | 1e52ca776a012f3b414505b94999375451774322 /generic | |
parent | 4e1945e4979e5ab95becbfea827c6aca5dc9a9fc (diff) | |
download | tcl-66231738720084435ccd1408fa0025ae9a79bbb2.zip tcl-66231738720084435ccd1408fa0025ae9a79bbb2.tar.gz tcl-66231738720084435ccd1408fa0025ae9a79bbb2.tar.bz2 |
How would it look like, if the various initializations were split in separate commands?initsubsystems2_split
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tcl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index eab6144..c3fae04 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -2425,7 +2425,8 @@ EXTERN Tcl_Interp *Tcl_InitSubsystems(int flags, ...); */ #define Tcl_Main(argc, argv, proc) Tcl_MainEx(argc, argv, proc, \ - (Tcl_InitSubsystems(TCL_INIT_CREATE, 0, argv))) + (Tcl_InitSubsystems(),Tcl_SetInitialEncodings(), \ + Tcl_FindExecutable(argv[0]), Tcl_CreateInterp())) EXTERN void Tcl_MainEx(int argc, char **argv, Tcl_AppInitProc *appInitProc, Tcl_Interp *interp); EXTERN const char * Tcl_PkgInitStubsCheck(Tcl_Interp *interp, |