diff options
| author | Michael Albinus | 2015-11-18 13:47:25 +0000 |
|---|---|---|
| committer | Michael Albinus | 2015-11-25 15:07:11 +0100 |
| commit | 65ba5a98d47f4305f95f960efdf424684754a11d (patch) | |
| tree | 644b229abb093a6024446bf4655d1aa0b460b453 /src/alloc.c | |
| parent | 13f3508443e4f5c48d40e4dbb11eaf875a5b2042 (diff) | |
| download | emacs-65ba5a98d47f4305f95f960efdf424684754a11d.tar.gz emacs-65ba5a98d47f4305f95f960efdf424684754a11d.zip | |
Further fixes for kqueue.
* lisp/filenotify.el (file-notify-callback): Raise also event if
directory name matches.
(file-notify-add-watch): Add `create' to the flags for `kqueue'.
* src/kqueue.c (kqueue_generate_event): Use watch_object as
argument instead of ident. Remove callback argument. Adapt
callees. Check actions whether they are monitored flags.
* test/automated/file-notify-tests.el (file-notify--test-library):
New defun.
(file-notify-test00-availability, file-notify-test02-events)
(file-notify-test04-file-validity)
(file-notify-test05-dir-validity): Use it.
(file-notify-test02-events, file-notify-test04-file-validity): Add
`read-event' calls between different file actions, in order to
give the backends a chance to rais an event. Needed especially
for kqueue. In case of deleting a directory, there are two
`deleted' events.
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions