summary refs log tree commit diff
path: root/elf/dl-load.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-08 23:58:37 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-08 23:58:37 +0000
commit120b4c4986b4af867843d0b1b24bf5c06f9d10e4 (patch)
treec783ddc0b145c8a52168eadb5d2759b2c9f0ca57 /elf/dl-load.c
parent97a51d8a0cc6508464305efdd372a630fdcfb7e6 (diff)
downloadglibc-120b4c4986b4af867843d0b1b24bf5c06f9d10e4.tar.gz
glibc-120b4c4986b4af867843d0b1b24bf5c06f9d10e4.tar.xz
glibc-120b4c4986b4af867843d0b1b24bf5c06f9d10e4.zip
Update.
1998-03-08  Ulrich Drepper  <drepper@cygnus.com>

	* elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
	LD_PRELOAD, and LD_VERBOSE.
	(dl_main): Use global variables set by process_envvars instead of
	calling getenv.
	* elf/dl-load.c (_dl_init_paths): Don't call getenv to get
	LD_LIBRARY_PATH value, this comes with the parameter.
Diffstat (limited to 'elf/dl-load.c')
-rw-r--r--elf/dl-load.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index f91a7ae4d3..1d700f9da4 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -333,11 +333,6 @@ _dl_init_paths (const char *llp)
   /* Number of elements in the library path.  */
   size_t nllp;
 
-  /* If the user has not specified a library path consider the environment
-     variable.  */
-  if (llp == NULL)
-    llp = getenv ("LD_LIBRARY_PATH");
-
   /* First determine how many elements the LD_LIBRARY_PATH contents has.  */
   if (llp != NULL && *llp != '\0')
     {