summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadShl.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2012-08-04 07:47:22 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2012-08-04 07:47:22 (GMT)
commit39204becf7d9c9bbb42d8bc22e3bc4f1ff98173e (patch)
treefd7b6368f954a4c1a95289f5dc388a409605c11c /unix/tclLoadShl.c
parenta05d6f6a9c0abc464ca39077d9b90b8e40adf9d6 (diff)
parentd9b43c2888a2b46f20da3e378a2bcf2302744ded (diff)
downloadtcl-39204becf7d9c9bbb42d8bc22e3bc4f1ff98173e.zip
tcl-39204becf7d9c9bbb42d8bc22e3bc4f1ff98173e.tar.gz
tcl-39204becf7d9c9bbb42d8bc22e3bc4f1ff98173e.tar.bz2
merge trunk
Diffstat (limited to 'unix/tclLoadShl.c')
-rw-r--r--unix/tclLoadShl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclLoadShl.c b/unix/tclLoadShl.c
index 9656983..eddd80a 100644
--- a/unix/tclLoadShl.c
+++ b/unix/tclLoadShl.c
@@ -146,7 +146,7 @@ FindSymbol(
if (shl_findsym(&handle, symbol, (short) TYPE_PROCEDURE,
(void *) &proc) != 0) {
Tcl_DStringInit(&newName);
- Tcl_DStringAppend(&newName, "_", 1);
+ TclDStringAppendLiteral(&newName, "_");
Tcl_DStringAppend(&newName, symbol, -1);
if (shl_findsym(&handle, Tcl_DStringValue(&newName),
(short) TYPE_PROCEDURE, (void *) &proc) != 0) {
@@ -156,8 +156,8 @@ FindSymbol(
}
if (proc == NULL && interp != NULL) {
Tcl_ResetResult(interp);
- Tcl_AppendResult(interp, "cannot find symbol\"", symbol,
- "\": ", Tcl_PosixError(interp), NULL);
+ Tcl_AppendResult(interp, "cannot find symbol\"", symbol, "\": ",
+ Tcl_PosixError(interp), NULL);
}
return proc;
}