Skip to content

Commit

Permalink
* elf/ldd.bash.in: If --verify loop fails to find a dynamic linker
Browse files Browse the repository at this point in the history
	for the file don't just try the first one listed in RTLDLIST
	again.  We already have the status.
  • Loading branch information
Ulrich Drepper committed Apr 30, 2006
1 parent 5493f3d commit 34e2127
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
2006-04-30 Ulrich Drepper <drepper@redhat.com>

* elf/ldd.bash.in: If --verify loop fails to find a dynamic linker
for the file don't just try the first one listed in RTLDLIST
again. We already have the status.

* nis/nss_nisplus/nisplus-publickey.c (parse_grp_str): PIDLIST is
supposed to have NGRPS elements.

Expand Down
7 changes: 1 addition & 6 deletions elf/ldd.bash.in
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ for file do
test -x "$file" || echo 'ldd:' $"\
warning: you do not have execution permission for" "\`$file'" >&2
RTLD=
ret=1
for rtld in ${RTLDLIST}; do
if test -x $rtld; then
verify_out=`${rtld} --verify "$file"`
Expand All @@ -163,12 +164,6 @@ warning: you do not have execution permission for" "\`$file'" >&2
esac
fi
done
if test -z "${RTLD}"; then
set ${RTLDLIST}
RTLD=$1
verify_out=`${RTLD} --verify "$file"`
ret=$?
fi
case $ret in
0)
# If the program exits with exit code 5, it means the process has been
Expand Down

0 comments on commit 34e2127

Please sign in to comment.