LDAP: Set process-connection-type to t on Darwin
* lisp/net/ldap.el (ldap-search-internal): Set process-connection-type to t on Darwin. Do not merge to master. (Bug#33050)
This commit is contained in:
parent
74a3a795af
commit
809989f79e
1 changed files with 6 additions and 1 deletions
|
@ -646,7 +646,12 @@ an alist of attribute/value pairs."
|
|||
(not (equal "" sizelimit)))
|
||||
(setq arglist (nconc arglist (list (format "-z%s" sizelimit)))))
|
||||
(if passwd
|
||||
(let* ((process-connection-type nil)
|
||||
;; Work around Bug#33154, see also Bug#33050. Leaving
|
||||
;; process-connection-type at its default (typically t)
|
||||
;; would probably be fine too, however this is the minimal
|
||||
;; change on the release branch that fixes ldap.el on Darwin
|
||||
;; and leaves other operating systems unchanged.
|
||||
(let* ((process-connection-type (eq system-type 'darwin))
|
||||
(proc-args (append arglist ldap-ldapsearch-args
|
||||
filter))
|
||||
(proc (apply #'start-process "ldapsearch" buf
|
||||
|
|
Loading…
Add table
Reference in a new issue