PHP 4.0 Bug #2101: Macro PHP_FE when applied to ext/ldap/ldap.c ldap_close function call fails.
| From: | cam at solidsys dot com | Date: | Wed, 18 Aug 1999 11:05:21 +0000 |
| Subject: | PHP 4.0 Bug #2101: Macro PHP_FE when applied to ext/ldap/ldap.c ldap_close function call fails. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9969@lists.php.net to get a copy of this message | ||
From: cam@solidsys.com
Operating system: Linux RedHat 6.0
PHP version: 4.0 Beta 2
PHP Bug Type: Compile Failure
Bug description: Macro PHP_FE when applied to ext/ldap/ldap.c ldap_close function call fails.
The normal make with the openldap libraries, that is with the following configure switch --
configure --with-ldap
causes this to fail
a diff of the file is as follows:
--- ldap.c.orig Wed Aug 18 06:04:17 1999
+++ ldap.c Tue Aug 17 15:58:52 1999
@@ -67,7 +67,9 @@
function_entry ldap_functions[] = {
PHP_FE(ldap_connect, NULL)
- PHP_FE(ldap_close, NULL)
+/* PHP_FE(ldap_close, NULL)*/
+ {"ldap_close", php3_ldap_unbind,
NULL},
+
PHP_FE(ldap_bind, NULL)
PHP_FE(ldap_unbind, NULL)
PHP_FE(ldap_read, NULL)