[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ange-ftp appears to have trouble with symbolic links to directories
From: |
Stefan Monnier |
Subject: |
Re: ange-ftp appears to have trouble with symbolic links to directories |
Date: |
23 Feb 2003 16:15:30 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> Hunting around on google, I found a possible patch:
>
> http://groups.google.com/groups?q=ange-ftp+symbolic+link&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&selm=200004061949.PAA09981%40jik.kamens.brookline.ma.us&rnum=2
>
> Any idea why this would not have been picked up already? It appears
> to be nearly three years old...
This problem has been fixed in the CVS trunk already (tho in a different
way). I don't think that's the problem you're seeing, tho.
Can you try the patch below instead ?
It's against the already patched version of ange-ftp-insert-directory
(i.e. it's on top of the previous patch I sent).
Stefan
@@ -4429,7 +4439,8 @@
tem)
(if parsed
(if (and (not wildcard)
- (setq tem (file-symlink-p (directory-file-name file))))
+ (stringp (setq tem (ange-ftp-get-file-entry
+ (directory-file-name file)))))
(ange-ftp-insert-directory
(ange-ftp-expand-symlink
tem (file-name-directory (directory-file-name file)))