Remove HAVE_LWP use from slurpd. globals for ldap_pvt_thread_sleep()

need to be managed completely by -lldap_r.
This commit is contained in:
Kurt Zeilenga 1999-04-06 20:59:30 +00:00
parent 6128be068b
commit 539a7dbf34
3 changed files with 2 additions and 11 deletions

View file

@ -68,10 +68,6 @@ init_globals( void )
#ifdef HAVE_KERBEROS
g->default_srvtab = SRVTAB;
#endif /* HAVE_KERBEROS */
#if defined( HAVE_LWP )
g->tsl_list = NULL;
mon_create( &g->tsl_mon );
#endif /* HAVE_LWP */
return g;
}

View file

@ -58,10 +58,6 @@ typedef struct globals {
/* Default name of kerberos srvtab file */
char *default_srvtab;
#endif /* HAVE_KERBEROS */
#if defined( HAVE_LWP ) && !defined( HAVE_THR )
tl_t *tsl_list;
mon_t tsl_mon;
#endif /* THREAD_SUNOS4_LWP */
} Globals;

View file

@ -80,10 +80,9 @@ Re_free(
"Warning: freeing re (dn: %s) with nonzero refcnt\n",
re->re_dn, 0, 0 );
}
#if !defined( HAVE_LWP )
/* This seems to have problems under SunOS lwp */
ldap_pvt_thread_mutex_destroy( &re->re_mutex );
#endif /* HAVE_LWP */
ch_free( re->re_timestamp );
if (( rh = re->re_replicas ) != NULL ) {
for ( i = 0; rh[ i ].rh_hostname != NULL; i++ ) {