This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] fix elf/ldd.bash.in syntax errors


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]