summaryrefslogtreecommitdiff
path: root/src/kqueue.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2020-11-02 18:54:14 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2020-11-02 18:58:01 +0100
commit4445cb76db57b3037d906ef2d0703a4ab4b1f9a7 (patch)
tree9dd1c570cf4f9e2dbdaf169ad0ef26bfef90d313 /src/kqueue.c
parent5f6dcb1c666e931c4bbf3c3385b5334b904ed025 (diff)
downloademacs-4445cb76db57b3037d906ef2d0703a4ab4b1f9a7.tar.gz
Add missing argument to directory_files_internal calls
* src/kqueue.c (kqueue_compare_dir_list, Fkqueue_add_watch): Pass the new seventh argument.
Diffstat (limited to 'src/kqueue.c')
-rw-r--r--src/kqueue.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kqueue.c b/src/kqueue.c
index adbb8d92c0b..590b747ef7c 100644
--- a/src/kqueue.c
+++ b/src/kqueue.c
@@ -128,7 +128,7 @@ kqueue_compare_dir_list (Lisp_Object watch_object)
return;
}
new_directory_files =
- directory_files_internal (dir, Qnil, Qnil, Qnil, true, Qnil);
+ directory_files_internal (dir, Qnil, Qnil, Qnil, true, Qnil, Qnil);
new_dl = kqueue_directory_listing (new_directory_files);
/* Parse through the old list. */
@@ -452,7 +452,8 @@ only when the upper directory of the renamed file is watched. */)
if (NILP (Ffile_directory_p (file)))
watch_object = list4 (watch_descriptor, file, flags, callback);
else {
- dir_list = directory_files_internal (file, Qnil, Qnil, Qnil, true, Qnil);
+ dir_list = directory_files_internal (file, Qnil, Qnil, Qnil, true, Qnil,
+ Qnil);
watch_object = list5 (watch_descriptor, file, flags, callback, dir_list);
}
watch_list = Fcons (watch_object, watch_list);