summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadShl.c
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2022-08-06 15:51:11 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2022-08-06 15:51:11 (GMT)
commit6b01089ea393a7596051f6e2a0a4c8c92d9b2b74 (patch)
tree27ba4e5be786d496bfb017dfe986a87ba77db4b9 /unix/tclLoadShl.c
parent12afabecd7fe8795a8327e18308db7e2f7a16dd7 (diff)
parent228c1134e28746ff7ea71d582ce3b80e68fe030a (diff)
downloadtcl-6b01089ea393a7596051f6e2a0a4c8c92d9b2b74.zip
tcl-6b01089ea393a7596051f6e2a0a4c8c92d9b2b74.tar.gz
tcl-6b01089ea393a7596051f6e2a0a4c8c92d9b2b74.tar.bz2
Merge core-8-branch
Diffstat (limited to 'unix/tclLoadShl.c')
-rw-r--r--unix/tclLoadShl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclLoadShl.c b/unix/tclLoadShl.c
index 5bf97eb..5cde183 100644
--- a/unix/tclLoadShl.c
+++ b/unix/tclLoadShl.c
@@ -86,7 +86,7 @@ TclpDlopen(
Tcl_DString ds;
- native = Tcl_UtfToExternalDString(NULL, fileName, -1, &ds);
+ native = Tcl_UtfToExternalDString(NULL, fileName, TCL_INDEX_NONE, &ds);
handle = shl_load(native, BIND_DEFERRED|BIND_VERBOSE|DYNAMIC_PATH, 0L);
Tcl_DStringFree(&ds);
}
@@ -140,7 +140,7 @@ FindSymbol(
(void *) &proc) != 0) {
Tcl_DStringInit(&newName);
TclDStringAppendLiteral(&newName, "_");
- Tcl_DStringAppend(&newName, symbol, -1);
+ Tcl_DStringAppend(&newName, symbol, TCL_INDEX_NONE);
if (shl_findsym(&handle, Tcl_DStringValue(&newName),
(short) TYPE_PROCEDURE, (void *) &proc) != 0) {
proc = NULL;