mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-05 13:40:08 +08:00
Fix minor Pth initialization bug
This commit is contained in:
parent
49a0b0f7e8
commit
aadecc852b
1
CHANGES
1
CHANGES
@ -4,6 +4,7 @@ Changes included in OpenLDAP 1.2.12 Engineering
|
||||
CVS Tag: OPENLDAP_REL_ENG_1_2
|
||||
Fixed ldapmodify ldaphost NULL bug
|
||||
Fixed ldapsearch uninitialized fp bug
|
||||
Fixed Pth initialization bug
|
||||
Build Environment
|
||||
Ignore make clean rm failure
|
||||
|
||||
|
@ -27,9 +27,14 @@ static pth_attr_t detach_attr;
|
||||
int
|
||||
ldap_pvt_thread_initialize( void )
|
||||
{
|
||||
if( !pth_init() ) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
detach_attr = pth_attr_new();
|
||||
pth_attr_set( detach_attr, PTH_ATTR_JOINABLE, 0 );
|
||||
return pth_init();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user