diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-08-16 18:10:03 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-08-16 18:10:03 +0000 |
commit | 80ea303760944cd041921c0ce3debeacd95ca3d1 (patch) | |
tree | 55c80ce0a19f1e5a4183def466f351fe2fccd9ad /nscd/cache.c | |
parent | b4f6f4be85d32b9c03361c38376e36f08100e3e8 (diff) | |
download | glibc-80ea303760944cd041921c0ce3debeacd95ca3d1.zip glibc-80ea303760944cd041921c0ce3debeacd95ca3d1.tar.gz glibc-80ea303760944cd041921c0ce3debeacd95ca3d1.tar.bz2 |
* nscd/cache.c (prune_cache): Use stat64 not stat.
* nscd/connections.c (nscd_init): Likewise.
Diffstat (limited to 'nscd/cache.c')
-rw-r--r-- | nscd/cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/cache.c b/nscd/cache.c index 800b7ec..cc9386b 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 |