summaryrefslogtreecommitdiff
path: root/src/lib/ecore_file/ecore_file_monitor_inotify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_file/ecore_file_monitor_inotify.c')
-rw-r--r--src/lib/ecore_file/ecore_file_monitor_inotify.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/lib/ecore_file/ecore_file_monitor_inotify.c b/src/lib/ecore_file/ecore_file_monitor_inotify.c
index 067a2814ff..b2104f32fe 100644
--- a/src/lib/ecore_file/ecore_file_monitor_inotify.c
+++ b/src/lib/ecore_file/ecore_file_monitor_inotify.c
@@ -283,17 +283,9 @@ _ecore_file_monitor_inotify_events(Ecore_File_Monitor *em, char *file, int mask)
283static int 283static int
284_ecore_file_monitor_inotify_monitor(Ecore_File_Monitor *em, const char *path) 284_ecore_file_monitor_inotify_monitor(Ecore_File_Monitor *em, const char *path)
285{ 285{
286 int mask = 286 int mask = IN_ATTRIB | IN_CLOSE_WRITE | IN_MOVED_FROM | IN_MOVED_TO |
287 IN_ATTRIB | 287 IN_DELETE | IN_CREATE | IN_MODIFY | IN_DELETE_SELF | IN_MOVE_SELF |
288 IN_CLOSE_WRITE | 288 IN_UNMOUNT;
289 IN_MOVED_FROM |
290 IN_MOVED_TO |
291 IN_DELETE |
292 IN_CREATE |
293 IN_MODIFY |
294 IN_DELETE_SELF |
295 IN_MOVE_SELF |
296 IN_UNMOUNT;
297 289
298 ECORE_FILE_MONITOR_INOTIFY(em)->wd = 290 ECORE_FILE_MONITOR_INOTIFY(em)->wd =
299 inotify_add_watch(ecore_main_fd_handler_fd_get(_fdh), path, mask); 291 inotify_add_watch(ecore_main_fd_handler_fd_get(_fdh), path, mask);