[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8112) man pages suggest using deprecated fuctions



--On Wednesday, April 22, 2015 11:33 PM +0000 quanah@openldap.org wrote:

> Full_Name: Quanah Gibson-Mount
> Version: RE24
> OS: NA
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (75.111.52.177)
>
>
> ldap_get_dn(3) states that when using the ldap_explode_rdn function,
> ldap_value_free can be used to free the results.  However,
> ldap_value_free is deprecated.

According to *some* of the code, ldap_explode_rdn is actually deprecated:

ldap_explode_rdn LDAP_P(( /* deprecated, ldap_str2rdn */

However, it is not wrapped in an ifdef for deprecated, nor is it listed as 
such in the manpage.

--Quanah

--

Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration