summaryrefslogtreecommitdiff
path: root/nscd/cache.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-06-13 16:16:18 +0000
committerJakub Jelinek <jakub@redhat.com>2008-06-13 16:16:18 +0000
commite6042ff1eea1f5259df14cf42961898e6c9e6cb1 (patch)
tree4faf97dc92334bce423db1cd280dd98537a72180 /nscd/cache.c
parent72d4ac23660326e76443cf18f0ed8c2e4792d268 (diff)
Updated to fedora-glibc-20080613T1601cvs/fedora-glibc-2_8_90-7
Diffstat (limited to 'nscd/cache.c')
-rw-r--r--nscd/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/cache.c b/nscd/cache.c
index 2faaf3403e..cd6e6b4440 100644
--- a/nscd/cache.c
+++ b/nscd/cache.c
@@ -274,7 +274,7 @@ prune_cache (struct database_dyn *table, time_t now, int fd)
/* If we check for the modification of the underlying file we invalidate
the entries also in this case. */
- if (table->check_file && now != LONG_MAX)
+ if (table->inotify_descr < 0 && table->check_file && now != LONG_MAX)
{
struct stat64 st;