]> 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>
Sun, 15 Nov 2015 17:45:32 +0000 (17:45 +0000)
commit54e22f958b2e277830a01a5a1b0fe51ce1b6f405
tree451846f27e636bade37c7b7694edf97d12ad6e4e
parent978f5b0a705c459fc708b7adacdac2b00c759422
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