tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.0.29); erroneous error message: File is a symlink to a none


From: Kai Großjohann
Subject: Re: tramp (2.0.29); erroneous error message: File is a symlink to a nonexistent target
Date: Tue, 08 Apr 2003 20:57:04 +0200
User-agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50 (gnu/linux)

Michael Albinus <address@hidden> writes:

>  (defun ange-ftp-file-symlink-p (file)
>    ;; call ange-ftp-expand-file-name rather than the normal
> @@ -3370,11 +3375,8 @@
>              (gethash
>               (ange-ftp-get-file-part file)
>               (ange-ftp-get-files (file-name-directory file)))))
> -       (if (stringp file-ent)
> -           (if (file-name-absolute-p file-ent)
> -               (ange-ftp-replace-name-component
> -                (file-name-directory file) file-ent)
> -             file-ent)))
> +       (and (stringp file-ent)
> +            file-ent))
>      (ange-ftp-real-file-symlink-p file)))

I think this part of the patch means that (file-symlink-p
"/ftp:address@hidden:/foo") might return something like "/bar" instead of
"/ftp:address@hidden:/bar".

But I think that "/ftp:address@hidden:/bar" is more correct.

So, is it possible to fix Ange-FTP without making this change in
file-symlink-p?
-- 
A preposition is not a good thing to end a sentence with.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]