From ed032ec4de79a2d04c36a81b1c672f65a8b9e67b Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 25 Feb 2010 18:21:19 +0000 Subject: [PATCH] (trunk libT) #2940: "don't listen for create events in daemon's inotify watchdir implementation" -- fixed in trunk for 1.92 --- daemon/watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/watch.c b/daemon/watch.c index b67911ffb..8d176f5ac 100644 --- a/daemon/watch.c +++ b/daemon/watch.c @@ -65,7 +65,7 @@ str_has_suffix( const char *str, const char *suffix ) /* reasonable guess as to size of 50 events */ #define BUF_LEN (EVENT_BATCH_COUNT * (EVENT_SIZE + 16) + 2048) -#define DTR_INOTIFY_MASK (IN_CREATE|IN_CLOSE_WRITE|IN_MOVED_TO) +#define DTR_INOTIFY_MASK (IN_CLOSE_WRITE|IN_MOVED_TO) static void watchdir_new_impl( dtr_watchdir * w )