unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Stefan Monnier" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
Subject: Re: ange-ftp appears to have trouble with symbolic links to directories
Date: 23 Feb 2003 16:15:30 -0500	[thread overview]
Message-ID: <5lvfzapukt.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: yu99n0l7g3ug.fsf@europa.research.att.com

> 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)))

      reply	other threads:[~2003-02-23 21:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-01  0:25 ange-ftp appears to have trouble with symbolic links to directories Andrew Koenig
2003-02-01  1:10 ` Stefan Monnier <foo@acm.com>
2003-02-01  4:16   ` Andrew Koenig
2003-02-03 21:01   ` Andrew Koenig
2003-02-03 21:08   ` Andrew Koenig
2003-02-07 21:47   ` Andrew Koenig
2003-02-23 21:15     ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5lvfzapukt.fsf@rum.cs.yale.edu \
    --to=monnier+gnu.emacs.help/news/@flint.cs.yale.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).