From 9d9a6c3f8f10ce01390a1913400adc27869c688c Mon Sep 17 00:00:00 2001 From: Kevin B Kenny Date: Mon, 9 Apr 2001 23:09:58 +0000 Subject: Bug #219140: Added DYNAMIC_PATH to the shl_load flags. --- ChangeLog | 5 +++++ unix/tclLoadShl.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9a9b0d2..2a35182 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2001-04-09 Kevin B. Kenny + * unix/tclLoadShl.c: Added DYNAMIC_PATH to the load flags so that + the SHLIB_PATH will be searched for other libraries. [Bug #219140] + +2001-04-09 Kevin B. Kenny + * unix/tcl.m4: Added _REENTRANT to Solaris build so that thread safe library routines are included. * unix/configure: Re-ran 'autoconf' with changed tcl.m4 diff --git a/unix/tclLoadShl.c b/unix/tclLoadShl.c index 3330919..0623986 100644 --- a/unix/tclLoadShl.c +++ b/unix/tclLoadShl.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclLoadShl.c,v 1.3 1999/04/16 00:48:04 stanton Exp $ + * RCS: @(#) $Id: tclLoadShl.c,v 1.4 2001/04/09 23:09:58 kennykb Exp $ */ #include @@ -73,7 +73,9 @@ TclpLoadFile(interp, fileName, sym1, sym2, proc1Ptr, proc2Ptr, clientDataPtr) * when they are build." */ - handle = shl_load(fileName, BIND_DEFERRED|BIND_VERBOSE, 0L); + handle = shl_load(fileName, + BIND_DEFERRED|BIND_VERBOSE|DYNAMIC_PATH, + 0L); if (handle == NULL) { Tcl_AppendResult(interp, "couldn't load file \"", fileName, "\": ", Tcl_PosixError(interp), (char *) NULL); -- cgit v0.12