From 9ef0a84048e96283f1da89e3a05041e0420eef08 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 13 Jan 2003 09:28:02 +0000 Subject: Update. 2003-01-13 Ulrich Drepper * locale/programs/charmap-dir.c (charmap_readdir): Use struct dirent64 instead of struct dirent for dirent. Call readdir64 instead of readdir. * locale/programs/locfile.c (siblings_uncached): Use struct dirent64 instead of struct dirent for other_dentry. Call readdir64 instead of readdir. * elf/ldconfig.c (direntry): Change type to struct dirent64. (search_dir): Use readdir64 instead of readdir. Patch by Zhangfan Xing . --- locale/programs/locfile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'locale/programs/locfile.c') diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c index c5e5581ac5..1e8e434ee1 100644 --- a/locale/programs/locfile.c +++ b/locale/programs/locfile.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996-2001, 2002 Free Software Foundation, Inc. +/* Copyright (C) 1996-2001, 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. @@ -389,12 +389,12 @@ siblings_uncached (const char *output_path) elems = NULL; for (;;) { - struct dirent *other_dentry; + struct dirent64 *other_dentry; const char *other_name; char *other_path; struct stat other_stat; - other_dentry = readdir (dirp); + other_dentry = readdir64 (dirp); if (other_dentry == NULL) break; -- cgit 1.4.1