From 120b4c4986b4af867843d0b1b24bf5c06f9d10e4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 8 Mar 1998 23:58:37 +0000 Subject: Update. 1998-03-08 Ulrich Drepper * 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. --- elf/dl-load.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'elf/dl-load.c') diff --git a/elf/dl-load.c b/elf/dl-load.c index f91a7ae..1d700f9 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') { -- cgit v1.1