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 /elf | |
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.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/ldconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |