]> git.eshelyaron.com Git - emacs.git/commit
More work on kqueue
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 15 Nov 2015 17:45:32 +0000 (17:45 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 25 Nov 2015 14:07:11 +0000 (15:07 +0100)
commite95b309ae4f5fbdebdb7067daca9d091925047cf
treee2671f96cbc0e803ee927af06c3781eb03c52788
parent41d9bd0c3b19d839b72fdd20e613cb6ab3b1b1f4
More work on kqueue

* lisp/filenotify.el (file-notify-callback): Handle also the
`rename' event from kqueue.
(file-notify-add-watch): Do not register an entry twice.

* src/kqueue.c (kqueue_directory_listing): New function.
(kqueue_generate_event): New argument FILE1.  Adapt callees.
(kqueue_compare_dir_list): Rewrite in order to make it more robust.
lisp/filenotify.el
src/kqueue.c