]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9235 Update comments referring to libldap_r
authorRyan Tandy <ryan@nardis.ca>
Sat, 30 May 2020 17:44:45 +0000 (10:44 -0700)
committerRyan Tandy <ryan@nardis.ca>
Sat, 4 Jul 2020 00:24:16 +0000 (17:24 -0700)
configure.in
include/ldap_features.hin
include/ldap_int_thread.h

index 7c2469aaf06c0c18bba62630dc65a7ba87845f5c..368fe67d6136bd710d9858b339216560d6715938 100644 (file)
@@ -1750,7 +1750,7 @@ if test $ol_link_threads != no ; then
 fi
 
 dnl ----------------------------------------------------------------
-dnl Tests for reentrant functions necessary to build -lldap_r
+dnl Tests for reentrant functions necessary for reentrant build
 AC_CHECK_FUNCS(                \
        ctime_r                 \
        gmtime_r localtime_r \
index 5f6c8016c7c7c3ec57b959dfe635640b8c510b6d..d8bb4c757503b557f1cc2d1760659fcdde4e9a7d 100644 (file)
 ** OpenLDAP reentrancy/thread-safeness should be dynamically
 ** checked using ldap_get_option().
 **
-** The -lldap implementation is not thread-safe.
-**
-** The -lldap_r implementation is:
+** If built with thread support, the -lldap implementation is:
 **             LDAP_API_FEATURE_THREAD_SAFE (basic thread safety)
-** but also be:
 **             LDAP_API_FEATURE_SESSION_THREAD_SAFE
 **             LDAP_API_FEATURE_OPERATION_THREAD_SAFE
 **
@@ -46,7 +43,7 @@
 **
 */
 
-/* is -lldap_r available or not */
+/* is -lldap thread safe or not */
 #undef LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
 
 /* LDAP v2 Referrals */
index 16b6f49648e8c388e0b902865fe56d112d703a43..21b0ef85b798c1ebedf4c9aae6f0157b0b7aa598 100644 (file)
@@ -17,7 +17,7 @@
 
 LDAP_BEGIN_DECL
 
-/* Can be done twice in libldap_r.  See libldap_r/ldap_thr_debug.h. */
+/* Can be done twice.  See libldap/ldap_thr_debug.h. */
 LDAP_F(int) ldap_int_thread_initialize LDAP_P(( void ));
 LDAP_F(int) ldap_int_thread_destroy    LDAP_P(( void ));