Update Fstring_match calls in comp.c
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 7 Oct 2021 18:55:05 +0000 (20:55 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 7 Oct 2021 18:55:05 +0000 (20:55 +0200)
* src/comp.c (Fcomp_el_to_eln_rel_filename, file_in_eln_sys_dir):
Update Fstring_match calls.

src/comp.c

index bc1adcf4e2f7f43ad12dfc41d7c9d466910b0737..5b947fc99b68693f640396e0e898f4ab2b7af86d 100644 (file)
@@ -4123,7 +4123,7 @@ one for the file name and another for its contents, followed by .eln.  */)
   FOR_EACH_TAIL (lds_re_tail)
     {
       Lisp_Object match_idx =
-       Fstring_match (XCAR (lds_re_tail), filename, Qnil);
+       Fstring_match (XCAR (lds_re_tail), filename, Qnil, Qnil);
       if (EQ (match_idx, make_fixnum (0)))
        {
          filename =
@@ -5260,7 +5260,8 @@ file_in_eln_sys_dir (Lisp_Object filename)
     eln_sys_dir = XCAR (tmp);
   return !NILP (Fstring_match (Fregexp_quote (Fexpand_file_name (eln_sys_dir,
                                                                 Qnil)),
-                              Fexpand_file_name (filename, Qnil), Qnil));
+                              Fexpand_file_name (filename, Qnil),
+                              Qnil, Qnil));
 }
 
 /* Load related routines.  */