]> sourceware.org Git - glibc.git/commitdiff
* elf/ldconfig.c (search_dir): Fix check for regular file.
authorAndreas Schwab <schwab@suse.de>
Thu, 14 Jun 2001 14:43:23 +0000 (14:43 +0000)
committerAndreas Schwab <schwab@suse.de>
Thu, 14 Jun 2001 14:43:23 +0000 (14:43 +0000)
ChangeLog
elf/ldconfig.c

index a332cb7206e8ab19be6328f91e6c3351de70de20..65cfc36021b36616781adad61f8410fc2f0c44fa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2001-06-14  Andreas Schwab  <schwab@suse.de>
 
+       * elf/ldconfig.c (search_dir): Fix check for regular file.
+
        * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
        * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
 
index f0fe60d669eecb6c8b4e57a6d06172e386994673..519baaa626f250a01f17250ec1f88819e9a31c5c 100644 (file)
@@ -720,7 +720,7 @@ search_dir (const struct dir_entry *entry)
          add_single_dir (new_entry, 0);
          continue;
        }
-      else if (!S_ISREG (stat_buf.st_mode) && !is_link)
+      else if (!S_ISREG (lstat_buf.st_mode) && !is_link)
        continue;
 
       if (opt_chroot && is_link)
This page took 0.050556 seconds and 5 git commands to generate.