diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-04-04 10:52:57 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-04-04 10:52:57 (GMT) |
commit | ba5afcca155b489af6e1d7e1f497ad8bc45794e6 (patch) | |
tree | d6aad89d946bafd8ac7d7b63bf22b5dfba1bbc8c /generic/tclMain.c | |
parent | 4d685e743eef603021ffc6f2c99026f5c0fecef7 (diff) | |
download | tcl-ba5afcca155b489af6e1d7e1f497ad8bc45794e6.zip tcl-ba5afcca155b489af6e1d7e1f497ad8bc45794e6.tar.gz tcl-ba5afcca155b489af6e1d7e1f497ad8bc45794e6.tar.bz2 |
encodingName -> encoding (where appropriate)
Diffstat (limited to 'generic/tclMain.c')
-rw-r--r-- | generic/tclMain.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c index 3e89664..725b567 100644 --- a/generic/tclMain.c +++ b/generic/tclMain.c @@ -287,7 +287,7 @@ Tcl_MainEx( { int i=0; /* argv[i] index */ Tcl_Obj *path, *resultPtr, *argvPtr, *appName; - const char *encodingName = NULL; + const char *encoding = NULL; int code, exitCode = 0; Tcl_MainLoopProc *mainLoopProc; Tcl_Channel chan; @@ -337,7 +337,7 @@ Tcl_MainEx( } } - path = Tcl_GetStartupScript(&encodingName); + path = Tcl_GetStartupScript(&encoding); if (path != NULL) { appName = path; } else if (argv[0]) { @@ -397,10 +397,10 @@ Tcl_MainEx( * again, as the appInitProc might have reset it. */ - path = Tcl_GetStartupScript(&encodingName); + path = Tcl_GetStartupScript(&encoding); if (path != NULL) { Tcl_ResetResult(interp); - code = Tcl_FSEvalFileEx(interp, path, encodingName); + code = Tcl_FSEvalFileEx(interp, path, encoding); if (code != TCL_OK) { chan = Tcl_GetStdChannel(TCL_STDERR); if (chan) { |