Merge branch 'backport-1221-note-revoke-kqueue-glib-2-62' into 'glib-2-62'

Backport !1221 “Add NOTE_REVOKE to the list of the monitoring events” to glib-2-62

See merge request GNOME/glib!1222
This commit is contained in:
Emmanuele Bassi 2019-11-18 12:47:29 +00:00
commit c90b60f1db

View File

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