mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
1998-05-20 00:10 Ulrich Drepper <drepper@cygnus.com> * elf/dl-load.c: Rename option and variable from ignore-rpath to inhibit-rpath. * elf/dl-support.c: Likewise. * elf/ldsodefs.h: Likewise. * elf/rtld.c: Likewise. * iconvdata/run-iconv-test.sh: Likewise.
This commit is contained in:
@ -290,13 +290,13 @@ decompose_rpath (const char *rpath, size_t additional_room, const char *where)
|
||||
size_t nelems;
|
||||
|
||||
/* First see whether we must forget the RPATH from this object. */
|
||||
if (_dl_ignore_rpath != NULL && !__libc_enable_secure)
|
||||
if (_dl_inhibit_rpath != NULL && !__libc_enable_secure)
|
||||
{
|
||||
const char *found = strstr (_dl_ignore_rpath, where);
|
||||
const char *found = strstr (_dl_inhibit_rpath, where);
|
||||
if (found != NULL)
|
||||
{
|
||||
size_t len = strlen (where);
|
||||
if ((found == _dl_ignore_rpath || found[-1] == ':')
|
||||
if ((found == _dl_inhibit_rpath || found[-1] == ':')
|
||||
&& (found[len] == '\0' || found[len] == ':'))
|
||||
{
|
||||
/* This object is on the list of objects for which the RPATH
|
||||
|
Reference in New Issue
Block a user