mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
* nscd/cache.c (prune_cache): Use stat64 not stat.
* nscd/connections.c (nscd_init): Likewise.
This commit is contained in:
parent
b4f6f4be85
commit
80ea303760
@ -1,3 +1,8 @@
|
||||
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]
|
||||
|
@ -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
|
||||
|
@ -710,9 +710,9 @@ cannot set socket to close on exec: %s; disabling paranoia mode"),
|
||||
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"),
|
||||
|
Loading…
Reference in New Issue
Block a user