[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20249: tramp: tramp-flush-directory-property loops infinitely
From: |
Ivan Shmakov |
Subject: |
bug#20249: tramp: tramp-flush-directory-property loops infinitely |
Date: |
Fri, 03 Apr 2015 05:42:21 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
>>>>> Koichi Arakawa <arakawa@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