summaryrefslogtreecommitdiffstats
path: root/generic/tclLoadNone.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-08-04 07:52:39 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-08-04 07:52:39 (GMT)
commit4aff1e5a4ca6dc45fa445b23777e3d8dd728c82c (patch)
treef191ab6d4e59ba4240dd4544b19de87c4da601dd /generic/tclLoadNone.c
parent945186c2fac7c4c3ba9275d1c6cbb45b8e10a954 (diff)
parent24ef33dc101a3e9114318b884c1e99d792f4739d (diff)
downloadtcl-dkf_utf16_branch.zip
tcl-dkf_utf16_branch.tar.gz
tcl-dkf_utf16_branch.tar.bz2
merge trunkdkf_utf16_branch
Diffstat (limited to 'generic/tclLoadNone.c')
-rw-r--r--generic/tclLoadNone.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclLoadNone.c b/generic/tclLoadNone.c
index ac094e6..6b48aee 100644
--- a/generic/tclLoadNone.c
+++ b/generic/tclLoadNone.c
@@ -44,9 +44,9 @@ TclpDlopen(
* function which should be used for this
* file. */
{
- Tcl_SetResult(interp,
+ Tcl_SetObjResult(interp, Tcl_NewStringObj(
"dynamic loading is not currently available on this system",
- TCL_STATIC);
+ -1));
return TCL_ERROR;
}