GNU bug report logs -
#56443
28.1; Mac segmentation fault with ffap
Previous Next
Reported by: Stephen Eglen <sje30 <at> cam.ac.uk>
Date: Thu, 7 Jul 2022 17:23:02 UTC
Severity: normal
Found in version 28.1
Done: Mattias Engdegård <mattiase <at> acm.org>
Bug is archived. No further changes may be made.
Full log
Message #23 received at 56443 <at> debbugs.gnu.org (full text, mbox):
> From: Mattias Engdegård <mattiase <at> acm.org>
> Date: Fri, 8 Jul 2022 11:35:27 +0200
> Cc: Daniel Martín <mardani29 <at> yahoo.es>, 56443 <at> debbugs.gnu.org,
> sje30 <at> cam.ac.uk
>
> The call to file_name_directory returns nil (the argument being "mailto:sje30 <at> cam.ac.uk"). What about:
>
> @@ -2603,7 +2603,7 @@ DEFUN ("file-name-case-insensitive-p", Ffile_name_case_insensitive_p,
> Lisp_Object parent = file_name_directory (filename);
> /* Avoid infinite loop if the root has trouble
> (impossible?). */
> - if (!NILP (Fstring_equal (parent, filename)))
> + if (!STRINGP (parent) || !NILP (Fstring_equal (parent, filename)))
> return Qnil;
> filename = parent;
> }
Fine with me, but please update the comment to this effect.
But why does the original call to file_name_case_insensitive_err fail
in this case with err > 0 on macOS, and what is the value of err?
This bug report was last modified 3 years and 13 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.