From: Thomas Fitzsimmons Date: Fri, 26 Oct 2018 20:53:19 +0000 (-0400) Subject: LDAP: Set process-connection-type to t on Darwin X-Git-Tag: emacs-26.1.91~75 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=809989f79ee4038f50d18765c4b727c8451ae0da;p=emacs.git 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) --- diff --git a/lisp/net/ldap.el b/lisp/net/ldap.el index 7b47a54b9fb..b106de02e9b 100644 --- a/lisp/net/ldap.el +++ b/lisp/net/ldap.el @@ -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