summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2001-04-09 23:09:58 (GMT)
committerKevin B Kenny <kennykb@acm.org>2001-04-09 23:09:58 (GMT)
commit9d9a6c3f8f10ce01390a1913400adc27869c688c (patch)
treea0ba6edca98daf46e278d7b8466b83e8d3c480f1
parent17d36faef9d874db9535c846fd672161df37803d (diff)
downloadtcl-9d9a6c3f8f10ce01390a1913400adc27869c688c.zip
tcl-9d9a6c3f8f10ce01390a1913400adc27869c688c.tar.gz
tcl-9d9a6c3f8f10ce01390a1913400adc27869c688c.tar.bz2
Bug #219140: Added DYNAMIC_PATH to the shl_load flags.
-rw-r--r--ChangeLog5
-rw-r--r--unix/tclLoadShl.c6
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 <kennykb@acm.org>
+ * 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 <kennykb@acm.org>
+
* 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 <dl.h>
@@ -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);