aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/inotify.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/inotify.c b/src/inotify.c
index ff842ddc58c..c29d940c984 100644
--- a/src/inotify.c
+++ b/src/inotify.c
@@ -187,7 +187,10 @@ inotifyevent_to_event (Lisp_Object watch, struct inotify_event const *ev)
187 uint32_t mask; 187 uint32_t mask;
188 CONS_TO_INTEGER (Fnth (make_fixnum (3), watch), uint32_t, mask); 188 CONS_TO_INTEGER (Fnth (make_fixnum (3), watch), uint32_t, mask);
189 189
190 if (! (mask & ev->mask)) 190 if (! (mask & ev->mask)
191 /* These event types are supposed to be reported whether or not
192 they appeared in the ASPECT list when monitoring commenced. */
193 && !(ev->mask & (IN_IGNORED | IN_Q_OVERFLOW | IN_ISDIR | IN_UNMOUNT)))
191 return Qnil; 194 return Qnil;
192 195
193 if (ev->len > 0) 196 if (ev->len > 0)