summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-03-06 13:15:16 +0000
committerJakub Jelinek <jakub@redhat.com>2006-03-06 13:15:16 +0000
commitd1e6d2178d0b242c9ad40f77216f2f0cae57b97a (patch)
treee7627c83e7bf547bb0e46e9ee5ddd43deb0f95ed /elf
parent5cde8cb0286079d731f933b65240528c150dedaa (diff)
Updated to fedora-glibc-20060306T1239cvs/fedora-glibc-2_4-1
Diffstat (limited to 'elf')
-rw-r--r--elf/ldconfig.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/ldconfig.c b/elf/ldconfig.c
index 3963627aa0..795fe6374f 100644
--- a/elf/ldconfig.c
+++ b/elf/ldconfig.c
@@ -694,6 +694,8 @@ search_dir (const struct dir_entry *entry)
!is_hwcap_platform (direntry->d_name)))
continue;
len = strlen (direntry->d_name);
+ /* Skip temporary files created by the prelink program. Files with
+ names like these are never really DSOs we want to look at. */
if (len >= sizeof (".#prelink#") - 1)
{
if (strcmp (direntry->d_name + len - sizeof (".#prelink#") + 1,