• Michael Albinus's avatar
    Handle empty strings in Tramp's expand-file-name implementations · be147d24
    Michael Albinus authored
    * lisp/net/tramp.el (tramp-handle-expand-file-name):
    * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
    * lisp/net/tramp-sh.el (tramp-sh-handle-expand-file-name):
    * lisp/net/tramp-smb.el (tramp-smb-handle-expand-file-name):
    * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-expand-file-name):
    Handle empty NAME.
    
    * test/lisp/net/tramp-tests.el (tramp-test01-file-name-syntax)
    (tramp-test01-file-name-syntax-simplified)
    (tramp-test01-file-name-syntax-separate): Use neutral IPv4 address.
    (tramp-test05-expand-file-name): Check also "." and "".
    be147d24
tramp-tests.el 205 KB