(_dl_init_paths): Don't call getenv to get LD_LIBRARY_PATH value, this comes
authordrepper <drepper>
Sun, 8 Mar 1998 23:57:41 +0000 (23:57 +0000)
committerdrepper <drepper>
Sun, 8 Mar 1998 23:57:41 +0000 (23:57 +0000)
with the parameter.

elf/dl-load.c

index f91a7ae..1d700f9 100644 (file)
@@ -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')
     {