diff --git a/ChangeLog b/ChangeLog index a332cb7206..65cfc36021 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2001-06-14 Andreas Schwab + * 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. diff --git a/elf/ldconfig.c b/elf/ldconfig.c index f0fe60d669..519baaa626 100644 --- a/elf/ldconfig.c +++ b/elf/ldconfig.c @@ -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)