summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2020-11-22 19:56:23 +0100
committerMichael Albinus <michael.albinus@gmx.de>2020-11-22 19:56:23 +0100
commit9b6ad3107f93d40f82c3c53dc0984c6d70aded83 (patch)
treec57ed64cafbba6784bf03dd918e86cda702ef7c6 /admin
parent9490f12c4dc4deb16f4e900646319f6de033982c (diff)
downloademacs-9b6ad3107f93d40f82c3c53dc0984c6d70aded83.tar.gz
Replace /dev/null by remote null-device in Tramp.
* lisp/net/tramp-adb.el (tramp-adb-get-ls-command) (tramp-adb-handle-set-file-times, tramp-adb-handle-process-file): Use `tramp-get-remote-null-device'. * lisp/net/tramp-compat.el (tramp-tramp-file-p): Declare. (tramp-compat-null-device): New defalias. * lisp/net/tramp-sh.el (tramp-methods) <telnet, nc>: (tramp-perl-encode-with-module, tramp-perl-decode-with-module) (tramp-perl-encode, tramp-perl-decode, tramp-awk-decode): Use "%n" marker. (tramp-do-directory-files-and-attributes-with-stat) (tramp-sh-handle-file-name-all-completions) (tramp-do-copy-or-rename-file-out-of-band) (tramp-sh-handle-insert-directory, tramp-sh-handle-process-file) (tramp-set-remote-path, tramp-open-connection-setup-interactive-shell) (tramp-find-inline-encoding, tramp-send-command-and-check) (tramp-get-remote-path, tramp-get-ls-command, tramp-get-ls-command-with) (tramp-get-remote-awk, tramp-get-remote-hexdump, tramp-get-remote-od) (tramp-get-env-with-u-option): Use `tramp-get-remote-null-device'. (tramp-remote-coding-commands, tramp-call-local-coding-command): Adapt docstring. * lisp/net/tramp-smb.el (tramp-smb-conf): Use `null-device'. (tramp-smb-handle-file-acl): Use `tramp-get-remote-null-device'. * lisp/net/tramp.el (tramp-methods): Adapt docstring. (tramp-get-remote-null-device): New defun. (tramp-interrupt-process): Use it.
Diffstat (limited to 'admin')
0 files changed, 0 insertions, 0 deletions