This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[patch] fix elf/ldd.bash.in syntax errors
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 21 Sep 2004 09:37:34 -0400
- Subject: [patch] fix elf/ldd.bash.in syntax errors
- Organization: wh0rd.org
the new ldd bash script has a couple of basic syntax errors that prevents it
from running at all
Gentoo Bug: http://bugs.gentoo.org/show_bug.cgi?id=64732
Author: Herbie Hopkins <herbie@hopkins.net>
Patch:
--- ldd.bak 2004-09-20 10:16:27.181495792 +0100
+++ ldd 2004-09-20 10:20:53.056076712 +0100
@@ -75,6 +75,7 @@
-u | --u | --un | --unu | --unus | --unuse | --unused)
unused=yes
shift
+ ;;
--v | --ve | --ver)
echo >&2 $"ldd: option \`$1' is ambiguous"
exit 1
@@ -103,7 +104,7 @@
add_env="$add_env LD_LIBRARY_VERSION=\$verify_out"
add_env="$add_env LD_VERBOSE=$verbose"
if test "$unused" = yes; then
- add_env="$add_env LD_DEBUG="$LD_DEBUG${LD_DEBUG:+,}unused"
+ add_env="$add_env LD_DEBUG="$LD_DEBUG${LD_DEBUG:+,}unused""
fi
case $# in
0)
-mike