From: Ulrich Drepper Date: Mon, 13 Jan 2003 08:53:14 +0000 (+0000) Subject: (direntry): Change type to struct dirent64. (search_dir): Use readdir64 instead of... X-Git-Tag: upstream/2.20~13281 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b510e91dc2e8dd4082eb88a2eac5d21afd7645a;p=platform%2Fupstream%2Flinaro-glibc.git (direntry): Change type to struct dirent64. (search_dir): Use readdir64 instead of readdir. --- diff --git a/elf/ldconfig.c b/elf/ldconfig.c index a84f437..c41c81e 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