Package: libc6
Version: 2.3.6.ds1-8
Severity: wishlist
Tags: patch

It seems to be better, than what it is now. Any comments are
appreciated. TIA.

,-*- sh -*-
|[EMAIL PROTECTED]:/mnt/work/app-src-build/shell/ldd$ ./ldd.orig as arch 
/bin/true
|as:
|ldd: ./as: No such file or directory
|arch:
|ldd: ./arch: No such file or directory
|/bin/true:
|        libc.so.6 => /lib/libc.so.6 (0x00002b719248c000)
|        /lib64/ld-linux-x86-64.so.2 (0x00002b7192374000)
|[EMAIL PROTECTED]:/mnt/work/app-src-build/shell/ldd$ ./ldd as arch /bin/true
|/usr/bin/as:
|        libbfd-2.17.so => /usr/lib/libbfd-2.17.so (0x00002b1f32513000)
|        libc.so.6 => /lib/libc.so.6 (0x00002b1f326bb000)
|        /lib64/ld-linux-x86-64.so.2 (0x00002b1f323fb000)
|/bin/arch:
|        libc.so.6 => /lib/libc.so.6 (0x00002b9f92a4f000)
|        /lib64/ld-linux-x86-64.so.2 (0x00002b9f92937000)
|/bin/true:
|        libc.so.6 => /lib/libc.so.6 (0x00002ae6fe09a000)
|        /lib64/ld-linux-x86-64.so.2 (0x00002ae6fdf82000)
|[EMAIL PROTECTED]:/mnt/work/app-src-build/shell/ldd$
|[EMAIL PROTECTED]:/mnt/work/app-src-build/shell/ldd$
`-*-

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libc6 depends on:
ii  tzdata                        2006l-1    Time Zone and Daylight Saving Time

libc6 recommends no packages.

-- no debconf information

Patch: ldd.bash.in-search_files.patch

--- glibc-2.3.6/elf/ldd.bash.in~orig    2007-01-22 02:36:38.329767000 +0100
+++ glibc-2.3.6/elf/ldd.bash.in 2007-01-22 02:38:33.200946000 +0100
@@ -139,10 +139,10 @@
 for file do
-  # We don't list the file name when there is only one.
-  test $single_file = t || echo "${file}:"
   case $file in
   */*) :
-       ;;
-  *) file=./$file
-     ;;
+    ;;
+  *) file=`which $file`
+    ;;
   esac
+  # We don't list the file name when there is only one.
+  test $single_file = t || echo "${file}:"
   if test ! -f "$file"; then


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to