mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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.
This commit is contained in:
@ -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')
|
||||
{
|
||||
|
Reference in New Issue
Block a user