From 80ea303760944cd041921c0ce3debeacd95ca3d1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 16 Aug 2005 18:10:03 +0000 Subject: * nscd/cache.c (prune_cache): Use stat64 not stat. * nscd/connections.c (nscd_init): Likewise. --- nscd/cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nscd/cache.c') diff --git a/nscd/cache.c b/nscd/cache.c index 800b7ecf27..cc9386b56f 100644 --- a/nscd/cache.c +++ b/nscd/cache.c @@ -203,9 +203,9 @@ prune_cache (struct database_dyn *table, time_t now) 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 -- cgit 1.4.1