aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-09 00:01:13 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-09 00:01:13 +0000
commitb4debac9ccfc9955c638f48299357d9576ae8905 (patch)
tree937506cb280c5821f61f908e89f6f113baf7ea73
parent120b4c4986b4af867843d0b1b24bf5c06f9d10e4 (diff)
downloadglibc-b4debac9ccfc9955c638f48299357d9576ae8905.tar
glibc-b4debac9ccfc9955c638f48299357d9576ae8905.tar.gz
glibc-b4debac9ccfc9955c638f48299357d9576ae8905.tar.bz2
glibc-b4debac9ccfc9955c638f48299357d9576ae8905.zip
Update.
* elf/dl-support.c (non_dynamic_init): Pass return value of getenv ("LD_LIBRARY_PATH") to _dl_init_paths.
-rw-r--r--ChangeLog2
-rw-r--r--elf/dl-support.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ee23572ec..41c5dd733a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,8 @@
calling getenv.
* elf/dl-load.c (_dl_init_paths): Don't call getenv to get
LD_LIBRARY_PATH value, this comes with the parameter.
+ * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
+ ("LD_LIBRARY_PATH") to _dl_init_paths.
1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
diff --git a/elf/dl-support.c b/elf/dl-support.c
index 9d28d2b640..29a16d2d5c 100644
--- a/elf/dl-support.c
+++ b/elf/dl-support.c
@@ -59,7 +59,7 @@ non_dynamic_init (void)
/* Initialize the data structures for the search paths for shared
objects. */
- _dl_init_paths (NULL);
+ _dl_init_paths (getenv ("LD_LIBRARY_PATH"));
#ifdef DL_PLATFORM_INIT
DL_PLATFORM_INIT;