Req #61853 [Asn->Csd]: Use of non-deprecated functions

From: Date: Thu, 02 Jul 2015 05:42:21 +0000
Subject: Req #61853 [Asn->Csd]: Use of non-deprecated functions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194056@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61853&edit=1

 ID:                 61853
 Updated by:         mcmic@php.net
 Reported by:        etienne at lamaisondebarbie dot ch
 Summary:            Use of non-deprecated functions
-Status:             Assigned
+Status:             Closed
 Type:               Feature/Change Request
 Package:            LDAP related
 Operating System:   Debian testing
 PHP Version:        master-Git-2012-04-25 (Git)
 Assigned To:        mcmic
 Block user comment: N
 Private report:     N

 New Comment:

The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------
[2015-07-01 15:39:48] ab@php.net

Hi Come,

this one is about the exact topic you're working on right now. Should be checked and closed as
well :)

Thanks.

------------------------------------------------------------------------
[2013-04-19 11:30:52] ab@php.net

@etienne any updates on this front?

------------------------------------------------------------------------
[2013-02-25 13:51:28] ab@php.net

Only one thing is crossing my mind is that you could haven't run './buildconf
--force' after changing the config.* files. If so, that macros was still defined.

------------------------------------------------------------------------
[2013-02-25 11:48:02] etienne at lamaisondebarbie dot ch

Ok, I'm working on it, but how did you get those warnings, cause I didn't get any ?

------------------------------------------------------------------------
[2013-02-25 10:06:17] ab@php.net

Hi,

i've tested your patch on windows and linux, it looks good. However there are 
some warnings now (after LDAP_DEPRECATED removal in the config.* files):

ldap.c: In function ‘_close_ldap_link’:
ldap.c:98: warning: implicit declaration of function ‘ldap_unbind_s’
ldap.c: In function ‘_php_ber_to_array_recursive’:
ldap.c:137: warning: unused variable ‘root’
ldap.c: In function ‘_php_ber_from_array_recursive’:
ldap.c:366: warning: unused variable ‘i’
ldap.c: In function ‘zif_ldap_connect’:
ldap.c:763: warning: implicit declaration of function ‘ldap_init’
ldap.c:763: warning: assignment makes pointer from integer without a cast
ldap.c: In function ‘zif_ldap_bind’:
ldap.c:826: warning: implicit declaration of function ‘ldap_bind_s’
ldap.c: In function ‘php_ldap_do_search’:
ldap.c:1034: warning: unused variable ‘old_ldap_sizelimit’
ldap.c: In function ‘zif_ldap_explode_dn’:
ldap.c:1748: warning: implicit declaration of function ‘ldap_value_free’
ldap.c: In function ‘zif_ldap_delete’:
ldap.c:1981: warning: implicit declaration of function ‘ldap_delete_s’
ldap.c: In function ‘zif_ldap_compare’:
ldap.c:2057: warning: implicit declaration of function ‘ldap_compare_s’
ldap.c: In function ‘zif_ldap_sort’:
ldap.c:2095: warning: implicit declaration of function ‘ldap_sort_entries’

That "implicit declaration" stuff is for sure because of the removed 
LDAP_DEPRECATED definition. Fixing that were now the finishing straight i'd say. 
Thanks for you work :)

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=61853


--
Edit this bug report at https://bugs.php.net/bug.php?id=61853&edit=1


Thread (19 messages)

« previous php.bugs (#194056) next »