Subject: bug#20249: tramp: tramp-flush-directory-property loops infinitely

From: Ivan Shmakov <[email-masked]>
Date: Fri, 03 Apr 2015 05:42:21 +0000

>>>>> Koichi Arakawa <[email-masked]> 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