/[smeserver]/rpms/openldap/sme9/openldap-rwm-reference-counting.patch
ViewVC logotype

Annotation of /rpms/openldap/sme9/openldap-rwm-reference-counting.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Nov 11 00:46:15 2014 UTC (9 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: openldap-2_4_39-8_el6_sme, HEAD
Import openldap

1 vip-ire 1.1 Author: Jan Synáček <jsynacek@redhat.com>
2     Resolves: #1003038
3     Upstream ITS: #7723
4    
5     Correctly count references in rwm overlay.
6    
7     --- a/libraries/librewrite/session.c 2010-04-13 22:23:09.000000000 +0200
8     +++ b/libraries/librewrite/session.c 2013-11-08 08:47:26.000000000 +0100
9     @@ -161,6 +161,7 @@
10     #ifdef USE_REWRITE_LDAP_PVT_THREADS
11     if ( session ) {
12     ldap_pvt_thread_mutex_lock( &session->ls_mutex );
13     + session->ls_count++;
14     }
15     ldap_pvt_thread_rdwr_runlock( &info->li_cookies_mutex );
16     #endif /* USE_REWRITE_LDAP_PVT_THREADS */
17     @@ -178,6 +179,7 @@
18     )
19     {
20     assert( session != NULL );
21     + session->ls_count--;
22     ldap_pvt_thread_mutex_unlock( &session->ls_mutex );
23     }
24    
25    
26    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed