diff lisp/net/ldap.el @ 112238:4f72b1e43644

Merge from emacs-23 branch.
author Glenn Morris <rgm@gnu.org>
date Sat, 15 Jan 2011 12:03:38 -0800
parents daedfad2f1e3 376148b31b5e
children
line wrap: on
line diff
--- a/lisp/net/ldap.el	Fri Jan 14 22:21:48 2011 -0500
+++ b/lisp/net/ldap.el	Sat Jan 15 12:03:38 2011 -0800
@@ -557,7 +557,8 @@
 	       (not (equal "" sizelimit)))
 	  (setq arglist (nconc arglist (list (format "-z%s" sizelimit)))))
       (apply #'call-process ldap-ldapsearch-prog
-	     nil buf nil
+	     ;; Ignore stderr, which can corrupt results
+	     nil (list buf nil) nil
 	     (append arglist ldap-ldapsearch-args filter))
       (insert "\n")
       (goto-char (point-min))