From: Ulrich Drepper Date: Sun, 1 Feb 1998 14:54:40 +0000 (+0000) Subject: (dl_main): Allow ":" as separator for LD_PRELOAD. X-Git-Tag: cvs/before-sparc-2_0_x-branch~220 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fbec9a54e28c579734a751f3f37447de4f2150e;p=thirdparty%2Fglibc.git (dl_main): Allow ":" as separator for LD_PRELOAD. --- diff --git a/elf/rtld.c b/elf/rtld.c index bb384ad57dd..e2b7e0fd158 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -348,8 +348,8 @@ of this helper program; chances are you did not intend to run this program.\n", preloadlist = getenv ("LD_PRELOAD"); if (preloadlist) { - /* The LD_PRELOAD environment variable gives a white space - separated list of libraries that are loaded before the + /* The LD_PRELOAD environment variable gives list of libraries + separated by white space or colons that are loaded before the executable's dependencies and prepended to the global scope list. If the binary is running setuid all elements containing a '/' are ignored since it is insecure. */