1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00

(trunk libT) #2940: "don't listen for create events in daemon's inotify watchdir implementation" -- fixed in trunk for 1.92

This commit is contained in:
Charles Kerr 2010-02-25 18:21:19 +00:00
parent 13fa343a2e
commit ed032ec4de

View file

@ -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 )