disable atexit() handler until we have a

dlopen/dlclose() fix available.
This commit is contained in:
Kurt Zeilenga 2002-02-08 20:08:59 +00:00
parent 93094c34e0
commit 85eebd09fb
3 changed files with 5 additions and 1 deletions

View file

@ -3,6 +3,7 @@ OpenLDAP 2.0 Change Log
OpenLDAP 2.0.23 Engineering
Fixed slapd moddn acl bug (ITS#1562) (ITS#1582)
Fixed slapd acl regex (to dn="") portability bug (ITS#1579)
Disabled -lldap atexit() handler (ITS#1577)
Documentation
Fixed a number of typos (ITS#1578)

View file

@ -1 +1 @@
2.0.23-Release
2.0.23-Engineering

View file

@ -400,7 +400,10 @@ void ldap_int_initialize_global_options( struct ldapoptions *gopts, int *dbglvl
*/
ldap_url_parselist(&gopts->ldo_defludp, "ldap://localhost/");
gopts->ldo_defport = LDAP_PORT;
#if 0 /* don't register atexit() handler... breaks dlopen() apps */
atexit(ldap_int_destroy_global_options);
#endif
gopts->ldo_refhoplimit = LDAP_DEFAULT_REFHOPLIMIT;
gopts->ldo_rebindproc = NULL;