Update file_mtime after deciding to flush the cache.

This commit is contained in:
Ulrich Drepper 1999-04-16 09:09:54 +00:00
parent 5d15fc5c35
commit 3d08d8004c

View File

@ -150,8 +150,11 @@ prune_cache (struct database *table, time_t now)
else
{
if (st.st_mtime != table->file_mtime)
/* The file changed. Invalidate all entries. */
now = LONG_MAX;
{
/* The file changed. Invalidate all entries. */
now = LONG_MAX;
st.st_mtime = table->file_mtime;
}
}
}