From 5e7ccf3264eac7d1be3cf6769e308a98fcc7da99 Mon Sep 17 00:00:00 2001 From: Kevin B Kenny Date: Thu, 10 Jan 2002 22:03:12 +0000 Subject: Applied patch from bug 501101. --- ChangeLog | 8 ++++++++ unix/tclLoadDld.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b2f3b48..59661da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2002-01-10 Don Porter , Kevin Kenny + + + * unix/tclLoadDld.c (TclpLoadFile): syntax error: unbalanced + parens. Kevin notes that it's far from clear that this file is + ever included in an actual build; Linux without dlopen appears to + be a nonexistent configuration. + 2002-01-08 Don Porter , Kevin Kenny * doc/StaticPkg.3 (Tcl_StaticPackage): 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); -- cgit v0.12