1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
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:
Ulrich Drepper
1998-05-20 00:15:00 +00:00
parent 310930c1b5
commit b0a01055eb
6 changed files with 24 additions and 15 deletions

View File

@ -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