[glib/glib-2-62: 1/2] Add NOTE_REVOKE to the list of the monitoring events



commit 33de0346074fd9059c80a798f3b8789c9b5bd1ec
Author: Alex Samorukov <samm net-art cz>
Date:   Mon Nov 11 17:59:31 2019 +0000

    Add NOTE_REVOKE to the list of the monitoring events

 gio/kqueue/gkqueuefilemonitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/kqueue/gkqueuefilemonitor.c b/gio/kqueue/gkqueuefilemonitor.c
index 3055506a9..fd0db4e29 100644
--- a/gio/kqueue/gkqueuefilemonitor.c
+++ b/gio/kqueue/gkqueuefilemonitor.c
@@ -107,7 +107,7 @@ G_DEFINE_TYPE_WITH_CODE (GKqueueFileMonitor, g_kqueue_file_monitor, G_TYPE_LOCAL
 static inline unsigned int
 note_all (void)
 {
-  unsigned int notes = NOTE_DELETE | NOTE_WRITE | NOTE_EXTEND | NOTE_ATTRIB | NOTE_RENAME;
+  unsigned int notes = NOTE_DELETE | NOTE_WRITE | NOTE_EXTEND | NOTE_ATTRIB | NOTE_RENAME | NOTE_REVOKE;
 #ifdef NOTE_TRUNCATE
   notes |= NOTE_TRUNCATE;
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]