unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Devon Sean McCullough <Emacs-hacker2018@jovi.net>
Cc: 45540@debbugs.gnu.org
Subject: bug#45540: 27.1; symbolic links crash dired
Date: Sat, 23 Jan 2021 23:48:02 +0100	[thread overview]
Message-ID: <87a6szs21p.fsf@gnus.org> (raw)
In-Reply-To: <875z4kq84p.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 30 Dec 2020 04:34:46 +0100")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Devon Sean McCullough <Emacs-hacker2018@jovi.net> writes:
>
>> Here's a fix.  I did NOT check this carefully.
>> Dired crashes when (< (length file-name) (length root))
>
> The patch looks reasonable -- but do you have a test case that
> reproduces this bug (starting from "emacs -Q") so that we can verify the
> bug and the fix?

I tried various link scenarios to come up with a case where file-name
was shorter than root, and I was unable to.  Do you have a test case for
such a setup?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-01-23 22:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-29 21:54 bug#45540: 27.1; symbolic links crash dired Devon Sean McCullough
2020-12-30  3:34 ` Lars Ingebrigtsen
2021-01-23 22:48   ` Lars Ingebrigtsen [this message]
     [not found]     ` <a6d7e822-42e1-0d77-e314-06dd4be0c848@jovi.net>
2021-01-25 23:48       ` Lars Ingebrigtsen
2021-03-01 15:18     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6szs21p.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=45540@debbugs.gnu.org \
    --cc=Emacs-hacker2018@jovi.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).