diff options
author | Andreas Schwab <schwab@suse.de> | 2001-06-14 14:43:23 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2001-06-14 14:43:23 +0000 |
commit | 0f843f89380ffb6ecbcf6db77fb5962a3d23ed4f (patch) | |
tree | 04581c75866c79a07db64468ba84b7c3b4fcf2c1 | |
parent | 53483036b91c6013a56bdd14dbeaee6767f958a8 (diff) | |
download | glibc-0f843f89380ffb6ecbcf6db77fb5962a3d23ed4f.tar.gz glibc-0f843f89380ffb6ecbcf6db77fb5962a3d23ed4f.tar.xz glibc-0f843f89380ffb6ecbcf6db77fb5962a3d23ed4f.zip |
* elf/ldconfig.c (search_dir): Fix check for regular file.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | elf/ldconfig.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index a332cb7206..65cfc36021 100644 --- 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. 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) |