mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-06 14:10:30 +08:00
Take empty LD_PRELOAD string into account.
This commit is contained in:
parent
293c57421d
commit
cb46414e31
@ -359,7 +359,7 @@ of this helper program; chances are you did not intend to run this program.\n",
|
||||
npreloads = 0;
|
||||
|
||||
preloadlist = getenv ("LD_PRELOAD");
|
||||
if (preloadlist)
|
||||
if (preloadlist && *preloadlist != '\0')
|
||||
{
|
||||
/* The LD_PRELOAD environment variable gives list of libraries
|
||||
separated by white space or colons that are loaded before the
|
||||
|
Loading…
x
Reference in New Issue
Block a user