Subject: bug#10489: 24.0.92; dired-do-copy may create infinite directory hierarchy

From: Michael Albinus <[email-masked]>
Date: Fri, 24 Feb 2012 17:25:10 +0100

"Drew Adams" <[email-masked]> writes:

>> I don't understand why you use expand-file-name here:
>> file-truename does it for you anyway.
>
> That's true, but only for Emacs 24+.  Is there any chance that this
> code will be used (say by Tramp) with Emacs < 24, where
> `file-truename' does not expand a relative file name?

"This code" belongs to a function introduced with Emacs 24. Tramp cannot
use it for older/other Emacsen, because it does not exist there :-)

If Tramp *emulates* this code, it is responsible to do it correctly.

Best regards, Michael.