changeset 4027:c56a675b3b05

[xemacs-hg @ 2007-06-22 16:58:36 by stephent] Declare use of deprecated LDAP interface.
author stephent
date Fri, 22 Jun 2007 16:58:38 +0000
parents 4d60c2708e5d
children f386b9b92417
files modules/ChangeLog modules/ldap/eldap.h
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/ChangeLog	Fri Jun 22 16:37:41 2007 +0000
+++ b/modules/ChangeLog	Fri Jun 22 16:58:38 2007 +0000
@@ -1,3 +1,9 @@
+2007-06-23  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	* ldap/eldap.h: Declare that we use deprecated API.
+	Thanks to Mats Lidell <matsl@xemacs.org> for the report & patch:
+	<871wgnqunm.fsf@spencer.lidell.homelinux.net>.
+
 2007-05-21  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* XEmacs 21.5.28 "fuki" is released.
--- a/modules/ldap/eldap.h	Fri Jun 22 16:37:41 2007 +0000
+++ b/modules/ldap/eldap.h	Fri Jun 22 16:58:38 2007 +0000
@@ -22,6 +22,13 @@
 #define INCLUDED_eldap_h_
 
 #include <lber.h>
+/* #### NEEDS REWRITE!
+   Thanks to Mats Lidell <matsl@xemacs.org> for the report & patch:
+   <871wgnqunm.fsf@spencer.lidell.homelinux.net>
+   "See http://www.openldap.org/faq/data/cache/1278.html.
+   Temporary workaround would be use the deprecated interface. Long term
+   solution is a rewrite." */
+#define LDAP_DEPRECATED 1
 #include <ldap.h>
 
 /*