From 83affcb07a8d5e297e66685eb94cec3fd8ce297b Mon Sep 17 00:00:00 2001 From: Eric Hanchrow Date: Sat, 8 Jan 2011 14:49:02 -0500 Subject: [PATCH] * net/ldap.el (ldap-search-internal): Discard stderr output. --- lisp/ChangeLog | 4 ++++ lisp/net/ldap.el | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3f0f8e85271..2ba9a86ea80 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-01-08 Eric Hanchrow + + * net/ldap.el (ldap-search-internal): Discard stderr output. + 2011-01-07 Eli Zaretskii * files.el (directory-abbrev-alist): Doc fix. (Bug#7777) diff --git a/lisp/net/ldap.el b/lisp/net/ldap.el index afdb0fe3e13..f1cc534ae85 100644 --- a/lisp/net/ldap.el +++ b/lisp/net/ldap.el @@ -558,7 +558,8 @@ an alist of attribute/value pairs." (setq arglist (nconc arglist (list (format "-z%s" sizelimit))))) (eval `(call-process ldap-ldapsearch-prog nil - buf + ;; Ignore stderr, which can corrupt results + (list buf nil) nil ,@arglist ,@ldap-ldapsearch-args -- 2.39.5