git.openpandora.org
/
pandora-libraries.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
057dc99
)
pndnotifyd: ignore IN_CREATE
author
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 8 May 2016 20:41:05 +0000
(23:41 +0300)
committer
Grazvydas 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
patch
|
blob
|
history
diff --git
a/lib/pnd_notify.c
b/lib/pnd_notify.c
index
efcadcb
..
6f0e634
100644
(file)
--- a/
lib/pnd_notify.c
+++ b/
lib/pnd_notify.c
@@
-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