diff options
author | kennykb <kennykb@noemail.net> | 2002-01-10 22:03:11 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2002-01-10 22:03:11 (GMT) |
commit | 90e25ec89465e18a67303279aa2129bd116d7fe8 (patch) | |
tree | ef81ed9a568d6a39fa48fff5cf6ff11aac4a5734 /unix/tclLoadDld.c | |
parent | 043b59fe9afeaeed0ac8618acd3f635021a2fd7f (diff) | |
download | tcl-90e25ec89465e18a67303279aa2129bd116d7fe8.zip tcl-90e25ec89465e18a67303279aa2129bd116d7fe8.tar.gz tcl-90e25ec89465e18a67303279aa2129bd116d7fe8.tar.bz2 |
Applied patch from bug 501101.
FossilOrigin-Name: 22c7a5b9727c70fe1765b89ae99e7582384ea59b
Diffstat (limited to 'unix/tclLoadDld.c')
-rw-r--r-- | unix/tclLoadDld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclLoadDld.c b/unix/tclLoadDld.c index 7d8a58d..f1c1589 100644 --- a/unix/tclLoadDld.c +++ b/unix/tclLoadDld.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclLoadDld.c,v 1.7 2002/01/09 19:09:28 kennykb Exp $ + * RCS: @(#) $Id: tclLoadDld.c,v 1.8 2002/01/10 22:03:12 kennykb Exp $ */ #include "tclInt.h" @@ -93,7 +93,7 @@ TclpLoadFile(interp, pathPtr, sym1, sym2, proc1Ptr, proc2Ptr, firstTime = 0; } - if ((returnCode = dld_link(Tcl_GetString(pathPtr)) != 0) { + if ((returnCode = dld_link(Tcl_GetString(pathPtr))) != 0) { Tcl_AppendResult(interp, "couldn't load file \"", Tcl_GetString(pathPtr), "\": ", dld_strerror(returnCode), (char *) NULL); |