GNU bug report logs - #10489
24.0.92; dired-do-copy may create infinite directory hierarchy

Previous Next

Package: emacs;

Reported by: michael_heerdegen <at> web.de

Date: Thu, 12 Jan 2012 19:36:01 UTC

Severity: important

Tags: patch

Merged with 11130

Found in version 24.0.92

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 10489 <at> debbugs.gnu.org,
	Michael Albinus <michael.albinus <at> gmx.de>
Subject: Re: bug#10489: 24.0.92;
	dired-do-copy may create infinite directory hierarchy
Date: Sat, 25 Feb 2012 17:41:43 -0500
>> It will be hard to detect that /sudo::/foo is equal to file:///foo.

Maybe (in this case it might be reasonably easy, but of course there are
harder cases).  But the fact that it's sometimes hard doesn't justify
preventing file-handlers from trying to handle it when they can.
I.e. don't just assume "different file-handler => different file".

> Agree, don't think that in real life people try do something like 
> copy /sudo::/foo ==> file:///foo

This whole bug report started because someone tried to make a similarly
silly "copy to itself".


        Stefan




This bug report was last modified 13 years and 58 days ago.

Previous Next


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