mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 08:58:54 +02:00
inotify: Further fixes for hard link monitoring support
This gets the G_FILE_MONITOR_WATCH_HARD_LINKS flag to the state where it doesn’t cause crashes, and essentially acts as a no-op. It will not yet actually monitor for changes made via hard links. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=755721
This commit is contained in:
@@ -158,8 +158,6 @@ ih_event_callback (ik_event_t *event,
|
||||
gboolean interesting;
|
||||
GFileMonitorEvent event_flags;
|
||||
|
||||
g_assert (!file_event); /* XXX hardlink support */
|
||||
|
||||
event_flags = ih_mask_to_EventFlags (event->mask);
|
||||
|
||||
if (event->mask & IN_MOVE)
|
||||
|
Reference in New Issue
Block a user