GNU bug report logs - #36502
27.0.50; infinite loop in file-name-case-insensitive-p

Previous Next

Package: emacs;

Reported by: Daniel Sutton <dan <at> dpsutton.com>

Date: Thu, 4 Jul 2019 16:53:02 UTC

Severity: normal

Found in version 27.0.50

Done: Ken Brown <kbrown <at> cornell.edu>

Bug is archived. No further changes may be made.

Full log


Message #28 received at 36502 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ken Brown <kbrown <at> cornell.edu>
Cc: dan <at> dpsutton.com, npostavs <at> gmail.com, 36502 <at> debbugs.gnu.org
Subject: Re: bug#36502: Fwd: bug#36502: 27.0.50;
 infinite loop in file-name-case-insensitive-p
Date: Sat, 06 Jul 2019 19:14:12 +0300
> From: Ken Brown <kbrown <at> cornell.edu>
> Date: Sat, 6 Jul 2019 15:38:14 +0000
> Cc: "36502 <at> debbugs.gnu.org" <36502 <at> debbugs.gnu.org>
> 
> > +      && !NILP (Ffile_name_absolute_p (filename)))
> >       {
> >         filename = Ffile_name_directory (filename);
> >         while (NILP (Ffile_exists_p (filename)))
> > 
> > Or maybe signal an error, either way seems better than just getting stuck.
> 
> Maybe expand-file-name should signal an error if default-directory is 
> relative?

That'd not be my first preference.  My first preference would be to
detect the cases where we are about to loop.  Can we do that?




This bug report was last modified 5 years and 304 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.