mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-14 06:17:15 +01:00
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:
commit
c90b60f1db
@ -107,7 +107,7 @@ G_DEFINE_TYPE_WITH_CODE (GKqueueFileMonitor, g_kqueue_file_monitor, G_TYPE_LOCAL
|
|||||||
static inline unsigned int
|
static inline unsigned int
|
||||||
note_all (void)
|
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
|
#ifdef NOTE_TRUNCATE
|
||||||
notes |= NOTE_TRUNCATE;
|
notes |= NOTE_TRUNCATE;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user