From 4445cb76db57b3037d906ef2d0703a4ab4b1f9a7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Mon, 2 Nov 2020 18:54:14 +0100 Subject: [PATCH] Add missing argument to directory_files_internal calls * src/kqueue.c (kqueue_compare_dir_list, Fkqueue_add_watch): Pass the new seventh argument. --- src/kqueue.c | 5 +++-- 1 file 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); -- 2.39.2