Subject: bug#2410: 23.0.90; tramp: spurious ftp-error

From: Juri Linkov <[email-masked]>
Date: Sun, 22 Feb 2009 18:27:47 +0200

> I can reproduce it. It can be narrowed down to 2009-02-11 change:
>
> 	* dired-aux.el (dired-add-entry): Avoid munging long-form Dired
> 	switches (Bug#2261).

It conflicts with code that removes the final "d" from switches
in `ange-ftp-insert-directory'.

When switches are "--dired -ald" then the FTP command is correct:
"ls -al filename".

When switches are "--dired -al -d" then the FTP command is incorrect:
"ls -al - filename".

-- 
Juri Linkov
http://www.jurta.org/emacs/