GNU bug report logs - #20249
[PATCH] tramp: tramp-flush-directory-property loops infinitly.

Previous Next

Package: emacs;

Reported by: arakawa <at> pp.iij4u.or.jp

Date: Fri, 3 Apr 2015 01:53:02 UTC

Severity: normal

Tags: patch

Fixed in version 25.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 20249 <at> debbugs.gnu.org (full text, mbox):

From: Ivan Shmakov <ivan <at> siamics.net>
To: 20249 <at> debbugs.gnu.org
Subject: Re: bug#20249: tramp: tramp-flush-directory-property loops infinitely
Date: Fri, 03 Apr 2015 05:42:21 +0000
>>>>> Koichi Arakawa <arakawa <at> pp.iij4u.or.jp> writes:

[…]

 > @@ -188,7 +188,8 @@ defun tramp-flush-directory-property (key directory)
 >  	 (truename (tramp-get-file-property key directory "file-truename" nil)))
 >      ;; Remove file properties of symlinks.
 >      (when (and (stringp truename)
 > -	       (not (string-equal directory truename)))
 > +	       (not (string-equal directory truename))
 > +	       (not (string-equal (concat directory "/") truename)))
 >        (tramp-flush-directory-property key truename))
 >      (tramp-message key 8 "%s" directory)
 >      (maphash

	I believe the above should use file-name-as-directory instead of
	a plain concat.

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A




This bug report was last modified 10 years and 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.