]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 4 Oct 2004 07:06:56 +0000 (07:06 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 4 Oct 2004 07:06:56 +0000 (07:06 +0000)
2004-10-04  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c (dl_main): Only skip => output in ldd mode if both
strings are identical.

ChangeLog
elf/rtld.c

index cf16700e5064bc5bc23edd38417028504ffb462f..5a7ec0cb2de5c28014b586d78ecddca013077bd2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-04  Ulrich Drepper  <drepper@redhat.com>
+
+       * elf/rtld.c (dl_main): Only skip => output in ldd mode if both
+       strings are identical.
+
 2004-03-18  Jakub Jelinek  <jakub@redhat.com>
 
        * malloc/arena.c (aligned_heap_area): New variable.
index 1ee875a088d3b79ba6d59dd61acb8524cc378363..ed1931ce8e6c172e274dfdf03fdac503513d7a9f 100644 (file)
@@ -1572,7 +1572,7 @@ cannot allocate TLS data structures for initial thread");
            if (l->l_faked)
              /* The library was not found.  */
              _dl_printf ("\t%s => not found\n", l->l_libname->name);
-           else if (l->l_libname->name[0] == '/')
+           else if (strcmp (l->l_libname->name, l->l_name) == 0)
              _dl_printf ("\t%s (0x%0*Zx)\n", l->l_libname->name,
                          (int) sizeof l->l_map_start * 2,
                          (size_t) l->l_map_start);