diff options
Diffstat (limited to 'generic/tclEncoding.c')
-rw-r--r-- | generic/tclEncoding.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c index 6b4cc8e..387a2a6 100644 --- a/generic/tclEncoding.c +++ b/generic/tclEncoding.c @@ -1448,14 +1448,15 @@ Tcl_UtfToExternal( *--------------------------------------------------------------------------- */ #undef Tcl_FindExecutable -void +const char * Tcl_FindExecutable( const char *argv0) /* The value of the application's argv[0] * (native). */ { - TclInitSubsystems(); + const char *version = TclInitSubsystems(); TclpSetInitialEncodings(); TclpFindExecutable(argv0); + return version; } /* |