aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/programs/charmap-dir.c6
-rw-r--r--locale/programs/locfile.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c
index 935f662ff6..903bd5cabc 100644
--- a/locale/programs/charmap-dir.c
+++ b/locale/programs/charmap-dir.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -88,13 +88,13 @@ charmap_readdir (CHARMAP_DIR *cdir)
{
for (;;)
{
- struct dirent *dirent;
+ struct dirent64 *dirent;
size_t len;
size_t size;
char *filename;
mode_t mode;
- dirent = readdir (cdir->dir);
+ dirent = readdir64 (cdir->dir);
if (dirent == NULL)
return NULL;
if (strcmp (dirent->d_name, ".") == 0)
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 <drepper@gnu.org>, 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;