]> git.eshelyaron.com Git - emacs.git/commitdiff
Handle symlink targets containing spaces in tramp-gvfs.el
authorJürgen Hötzel <juergen@archlinux.org>
Fri, 16 Oct 2015 17:46:18 +0000 (19:46 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 16 Oct 2015 17:46:18 +0000 (19:46 +0200)
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
Handle symlink targets containing spaces.

lisp/net/tramp-gvfs.el

index 463b99785f7e0ad605e74cabceb9c7b8a789e774..b9d2fa2739e1855804979c7aaf04831f38472037 100644 (file)
@@ -813,7 +813,7 @@ file names."
              (goto-char (point-min))
              (setq res-symlink-target
                    (if (re-search-forward
-                        "standard::symlink-target:\\s-+\\(\\S-+\\)" nil t)
+                        "standard::symlink-target:\\s-+\\(.*\\)$" nil t)
                        (match-string 1)))
              ;; ... number links
              (goto-char (point-min))