* nscd/connections.c (nscd_init): Likewise.
+2005-08-16 Ulrich Drepper <drepper@redhat.com>
+
+ * nscd/cache.c (prune_cache): Use stat64 not stat.
+ * nscd/connections.c (nscd_init): Likewise.
+
2005-08-10 Sergio Gelato <Sergio.Gelato@astro.su.se>
[BZ #1188]
the entries also in this case. */
if (table->check_file)
{
- struct stat st;
+ struct stat64 st;
- if (stat (table->filename, &st) < 0)
+ if (stat64 (table->filename, &st) < 0)
{
char buf[128];
/* We cannot stat() the file, disable file checking if the
if (dbs[cnt].check_file)
{
/* We need the modification date of the file. */
- struct stat st;
+ struct stat64 st;
- if (stat (dbs[cnt].filename, &st) < 0)
+ if (stat64 (dbs[cnt].filename, &st) < 0)
{
/* We cannot stat() the file, disable file checking. */
dbg_log (_("cannot stat() file `%s': %s"),