summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixInit.c
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-02-25 03:03:46 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-02-25 03:03:46 (GMT)
commitf0f2ee57f9f6423cc4fb56be376158f7e006739e (patch)
tree6927074dc76b88fec40d76c7a1554581d814e79a /unix/tclUnixInit.c
parent50cafc9f132619bcb0c671486c587f639b5f772b (diff)
downloadtcl-f0f2ee57f9f6423cc4fb56be376158f7e006739e.zip
tcl-f0f2ee57f9f6423cc4fb56be376158f7e006739e.tar.gz
tcl-f0f2ee57f9f6423cc4fb56be376158f7e006739e.tar.bz2
Compiles and runs. Tests still to be ported.
Diffstat (limited to 'unix/tclUnixInit.c')
-rw-r--r--unix/tclUnixInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index 8f7a737..71b059a 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -473,7 +473,7 @@ TclpInitLibraryPath(
*/
str = getenv("TCL_LIBRARY"); /* INTL: Native. */
- Tcl_ExternalToUtfDStringEx(NULL, str, TCL_INDEX_NONE, TCL_ENCODING_NOCOMPLAIN, &buffer);
+ Tcl_ExternalToUtfDStringEx(NULL, NULL, str, TCL_INDEX_NONE, TCL_ENCODING_PROFILE_TCL8, &buffer, NULL);
str = Tcl_DStringValue(&buffer);
if ((str != NULL) && (str[0] != '\0')) {