; Add some comments in Tramp
This commit is contained in:
parent
9e736d254a
commit
41a45373c1
2 changed files with 13 additions and 1 deletions
|
@ -980,8 +980,8 @@ or `dbus-call-method-asynchronously'."
|
|||
(vec bus service path interface)
|
||||
"Return all properties of INTERFACE.
|
||||
The call will be traced by Tramp with trace level 6."
|
||||
;; Check, that interface exists at object path. Retrieve properties.
|
||||
(declare (indent 1) (debug t))
|
||||
;; Check, that interface exists at object path. Retrieve properties.
|
||||
`(when (member
|
||||
,interface
|
||||
(tramp-dbus-function
|
||||
|
|
|
@ -4166,6 +4166,18 @@ This function expects to be in the right *tramp* buffer."
|
|||
;; On hydra.nixos.org, the $PATH environment variable is too long to
|
||||
;; send it. This is likely not due to PATH_MAX, but PIPE_BUF. We
|
||||
;; check it, and use a temporary file in case of. See Bug#33781.
|
||||
|
||||
;; The PIPE_BUF in POSIX [1] can be as low as 512 [2]. Here are the values
|
||||
;; on various platforms:
|
||||
;; - 512 on macOS, FreeBSD, NetBSD, OpenBSD, MirBSD, native Windows.
|
||||
;; - 4 KiB on Linux, OSF/1, Cygwin, Haiku.
|
||||
;; - 5 KiB on Solaris.
|
||||
;; - 8 KiB on HP-UX, Plan9.
|
||||
;; - 10 KiB on IRIX.
|
||||
;; - 32 KiB on AIX, Minix.
|
||||
;; [1] https://pubs.opengroup.org/onlinepubs/9699919799/functions/write.html
|
||||
;; [2] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html
|
||||
;; See Bug#65324.
|
||||
(defun tramp-set-remote-path (vec)
|
||||
"Set the remote environment PATH to existing directories.
|
||||
I.e., for each directory in `tramp-remote-path', it is tested
|
||||
|
|
Loading…
Add table
Reference in a new issue