diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-01-13 08:53:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-01-13 08:53:14 +0000 |
commit | 2b510e91dc2e8dd4082eb88a2eac5d21afd7645a (patch) | |
tree | ee2d64666c132bb82ac6a5e74f423f6f1743c0af /elf | |
parent | c01ec9c73d479ac91efb8ec590a6b81cee3ed0af (diff) | |
download | glibc-2b510e91dc2e8dd4082eb88a2eac5d21afd7645a.tar.gz glibc-2b510e91dc2e8dd4082eb88a2eac5d21afd7645a.tar.xz glibc-2b510e91dc2e8dd4082eb88a2eac5d21afd7645a.zip |
(direntry): Change type to struct dirent64. (search_dir): Use readdir64 instead of readdir.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/ldconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/ldconfig.c b/elf/ldconfig.c index a84f4379ff..c41c81e3b8 100644 --- a/elf/ldconfig.c +++ b/elf/ldconfig.c @@ -603,7 +603,7 @@ static void search_dir (const struct dir_entry *entry) { DIR *dir; - struct dirent *direntry; + struct dirent64 *direntry; char *file_name, *dir_name, *real_file_name, *real_name; int file_name_len, real_file_name_len, len; char *soname; @@ -649,7 +649,7 @@ search_dir (const struct dir_entry *entry) return; } - while ((direntry = readdir (dir)) != NULL) + while ((direntry = readdir64 (dir)) != NULL) { int flag; #ifdef _DIRENT_HAVE_D_TYPE |