]> git.eshelyaron.com Git - emacs.git/commitdiff
Add missing argument to directory_files_internal calls
authorMattias Engdegård <mattiase@acm.org>
Mon, 2 Nov 2020 17:54:14 +0000 (18:54 +0100)
committerMattias Engdegård <mattiase@acm.org>
Mon, 2 Nov 2020 17:58:01 +0000 (18:58 +0100)
* src/kqueue.c (kqueue_compare_dir_list, Fkqueue_add_watch):
Pass the new seventh argument.

src/kqueue.c

index adbb8d92c0bc18f6566a8de7a6f1e334ce5f5288..590b747ef7c1f1b653d616f4352af79878503b12 100644 (file)
@@ -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);