changeset 112245:3a76bad41614

* net/ldap.el (ldap-search-internal): Discard stderr output.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 08 Jan 2011 14:49:02 -0500
parents fb129cb53476
children a60d544f1222
files lisp/ChangeLog lisp/net/ldap.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Jan 07 17:55:13 2011 +0200
+++ b/lisp/ChangeLog	Sat Jan 08 14:49:02 2011 -0500
@@ -1,3 +1,7 @@
+2011-01-08  Eric Hanchrow  <eric.hanchrow@gmail.com>
+
+	* net/ldap.el (ldap-search-internal): Discard stderr output.
+
 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
 
 	* files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
--- a/lisp/net/ldap.el	Fri Jan 07 17:55:13 2011 +0200
+++ b/lisp/net/ldap.el	Sat Jan 08 14:49:02 2011 -0500
@@ -558,7 +558,8 @@
 	  (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