]> git.openpandora.org Git - pandora-libraries.git/commitdiff
pndnotifyd: ignore IN_CREATE
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 8 May 2016 20:41:05 +0000 (23:41 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 8 May 2016 20:41:05 +0000 (23:41 +0300)
not interested in created empty files - IN_CLOSE_WRITE is enough.

lib/pnd_notify.c

index efcadcb3f8ffa38ac185c8392dd193d221a9146c..6f0e634ad5fd8916cfca774a96a241fd81904e87 100644 (file)
@@ -23,7 +23,7 @@ static int notify_handle;
 //static void pnd_notify_hookup ( int fd );
 
 #if 1
-#define PND_INOTIFY_MASK     IN_CREATE | IN_DELETE | IN_UNMOUNT \
+#define PND_INOTIFY_MASK     IN_DELETE | IN_UNMOUNT \
                              | IN_DELETE_SELF | IN_MOVE_SELF    \
                              | IN_MOVED_FROM | IN_MOVED_TO | IN_CLOSE_WRITE
 #else