From: Jordan Lee Date: Thu, 3 Jan 2013 23:54:25 +0000 (+0000) Subject: (2.7x, daemon) backport r13726 for #4523 X-Git-Tag: 2.76~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=252c683142db648f626f50c6a54128f317d6f9a2;p=transmission (2.7x, daemon) backport r13726 for #4523 --- diff --git a/daemon/watch.c b/daemon/watch.c index 8976fca57..da5e95e84 100644 --- a/daemon/watch.c +++ b/daemon/watch.c @@ -55,7 +55,7 @@ struct dtr_watchdir /* reasonable guess as to size of 50 events */ #define BUF_LEN (EVENT_BATCH_COUNT * (EVENT_SIZE + 16) + 2048) -#define DTR_INOTIFY_MASK (IN_CLOSE_WRITE|IN_MOVED_TO|IN_ONLYDIR) +#define DTR_INOTIFY_MASK (IN_CLOSE_WRITE|IN_MOVED_TO|IN_CREATE|IN_ONLYDIR) static void watchdir_new_impl (dtr_watchdir * w)