summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-21 15:40:52 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-21 15:40:52 +0000
commit366ca3ac168fe2af5291d91bba6cf8fd7373cc58 (patch)
treeece1bf1fb7b03a8e00c91e5fe42c615eabb06fcf
parent1658cb803650b8a08e708f2b8b73613769732c7a (diff)
Update.
2004-09-21 Ulrich Drepper <drepper@redhat.com> * elf/ldd.bash.in: Fix syntax errors.
-rw-r--r--ChangeLog4
-rw-r--r--elf/ldd.bash.in3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cc7ad62684..425264b697 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-21 Ulrich Drepper <drepper@redhat.com>
+
+ * elf/ldd.bash.in: Fix syntax errors.
+
2004-09-20 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/dl-execstack.c
diff --git a/elf/ldd.bash.in b/elf/ldd.bash.in
index 6ee9b60e51..f400924217 100644
--- a/elf/ldd.bash.in
+++ b/elf/ldd.bash.in
@@ -75,6 +75,7 @@ For bug reporting instructions, please see:
-u | --u | --un | --unu | --unus | --unuse | --unused)
unused=yes
shift
+ ;;
--v | --ve | --ver)
echo >&2 $"ldd: option \`$1' is ambiguous"
exit 1
@@ -102,7 +103,7 @@ nonelf ()
add_env="LD_TRACE_LOADED_OBJECTS=1 LD_WARN=$warn LD_BIND_NOW=$bind_now"
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)