unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Stefan Monnier <foo@acm.com>" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
Subject: Re: ange-ftp appears to have trouble with symbolic links to directories
Date: 31 Jan 2003 20:10:22 -0500	[thread overview]
Message-ID: <5lhebo6c1t.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: yu99bs1wkfsc.fsf@europa.research.att.com


I seem to remember doing something about a similar problem.
Is there some way you could check if the Emacs CVS code fixes it ?

Wait, I think the patch below was the meat of it, can you try it ?


        Stefan


--- net/ange-ftp.el	2 Jul 2002 19:20:42 -0000	1.37
+++ net/ange-ftp.el	4 Jul 2002 20:37:14 -0000	1.38
@@ -4517,7 +4518,8 @@
 	(if (and (not wildcard)
 		 (setq tem (file-symlink-p (directory-file-name file))))
 	    (ange-ftp-insert-directory
-	     (ange-ftp-replace-name-component file tem)
+	     (ange-ftp-expand-symlink
+	      tem (file-name-directory (directory-file-name file)))
 	     switches wildcard full)
 	  (insert
 	   (if wildcard

  reply	other threads:[~2003-02-01  1:10 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> [this message]
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

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=5lhebo6c1t.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).