glib/gio/kqueue
Philip Withnall 38ec9c6da3 kqueue: Fix invalid emission of G_FILE_MONITOR_EVENT_MOVED event
That event is deprecated, and the kqueue backend can’t provide enough
information to go alongside the event (i.e. the name of the new file).
Use G_FILE_MONITOR_EVENT_DELETED instead.

Quite disappointed in the kqueue documentation for this: I cannot find a
single piece of documentation or example about how NOTE_RENAME is
supposed to communicate the new name of the file.

If it turns out that this is possible, the code can be amended again in
future. At least now it doesn’t abort.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=776147
2017-11-28 13:57:07 +00:00
..
dep-list.c Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
dep-list.h GFileMonitor: Add kqueue(3) support to GIO 2012-11-15 08:13:30 +01:00
gkqueuefilemonitor.c kqueue: add a bit of extra paranoia on cancel 2015-06-05 14:55:01 -04:00
gkqueuefilemonitor.h kqueue backend: port to new GLocalFileMonitor API 2015-03-20 12:01:35 -04:00
kqueue-exclusions.c docs: fix up docs issues in gio/ 2015-02-05 16:20:43 +01:00
kqueue-exclusions.h GFileMonitor: Add kqueue(3) support to GIO 2012-11-15 08:13:30 +01:00
kqueue-helper.c kqueue: Fix invalid emission of G_FILE_MONITOR_EVENT_MOVED event 2017-11-28 13:57:07 +00:00
kqueue-helper.h kqueue backend: port to new GLocalFileMonitor API 2015-03-20 12:01:35 -04:00
kqueue-missing.c kqueue: fix a potential deadlock 2013-12-26 19:57:44 +01:00
kqueue-missing.h GFileMonitor: Add kqueue(3) support to GIO 2012-11-15 08:13:30 +01:00
kqueue-sub.c GFileMonitor: Add kqueue(3) support to GIO 2012-11-15 08:13:30 +01:00
kqueue-sub.h GFileMonitor: Add kqueue(3) support to GIO 2012-11-15 08:13:30 +01:00
kqueue-thread.c docs: Fix broken gtk-doc formatting 2014-08-18 14:08:41 +02:00
kqueue-thread.h GFileMonitor: Add kqueue(3) support to GIO 2012-11-15 08:13:30 +01:00
kqueue-utils.c kqueue backend: port to new GLocalFileMonitor API 2015-03-20 12:01:35 -04:00
kqueue-utils.h kqueue backend: port to new GLocalFileMonitor API 2015-03-20 12:01:35 -04:00
Makefile.am kqueue backend: port to new GLocalFileMonitor API 2015-03-20 12:01:35 -04:00
meson.build meson: Minor modernizations 2017-07-13 19:03:39 -04:00