]> code.delx.au - gnu-emacs/commit
Handle more complex rename operation in kqueue
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 19 Nov 2015 09:58:08 +0000 (09:58 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 19 Nov 2015 09:58:08 +0000 (09:58 +0000)
commita81fe30a764c117e87e9da13f19b46d0ba6d35a8
tree10b7b27537f7414add97b8a8a232fa61a2441f13
parent0d45fc135cb2ac17aa776cc5bd5b339bf20514ae
Handle more complex rename operation in kqueue

* src/kqueue.c (pending_events): New variable.
(kqueue_compare_dir_list): Handle more complex rename operation.
(globals_of_kqueue): Initialize pending_events.

* test/automated/file-notify-tests.el (file-notify-test06-many-events):
Adapt expected events in the `rename-file' case.
(file-notify-test06-many-events-remote): Declare.
src/kqueue.c
test/automated/file-notify-tests.el