* elf/ldconfig.c (search_dir): Fix check for regular file.

This commit is contained in:
Andreas Schwab 2001-06-14 14:43:23 +00:00
parent 53483036b9
commit 0f843f8938
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View 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)