Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 125862 Details for
Bug 186450
dev-libs/cyrus-sasl - multiple issues
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0006_library_mutexes.dpatch
0006_library_mutexes.dpatch (text/plain), 1.03 KB, created by
Carsten Lohrke (RETIRED)
on 2007-07-24 11:07:28 UTC
(
hide
)
Description:
0006_library_mutexes.dpatch
Filename:
MIME Type:
Creator:
Carsten Lohrke (RETIRED)
Created:
2007-07-24 11:07:28 UTC
Size:
1.03 KB
patch
obsolete
>#! /bin/sh /usr/share/dpatch/dpatch-run >## 0006_library_mutexes.dpatch by <fabbe@debian.org> >## >## All lines beginning with `## DP:' are a description of the patch. >## DP: Exact description unknown; make sure mutex-related code works. > >@DPATCH@ >diff -urNad trunk~/lib/common.c trunk/lib/common.c >--- trunk~/lib/common.c 2006-05-29 22:52:46.000000000 +0300 >+++ trunk/lib/common.c 2006-07-27 17:41:06.000000000 +0300 >@@ -771,7 +771,7 @@ > result = sasl_canonuser_add_plugin("INTERNAL", internal_canonuser_init); > if(result != SASL_OK) return result; > >- if (!free_mutex) >+ if (!free_mutex || free_mutex == 0x1) > free_mutex = sasl_MUTEX_ALLOC(); > if (!free_mutex) return SASL_FAIL; > >@@ -790,6 +790,11 @@ > > /* serialize disposes. this is necessary because we can't > dispose of conn->mutex if someone else is locked on it */ >+ >+ if (!free_mutex || free_mutex == 0x1) >+ free_mutex = sasl_MUTEX_ALLOC(); >+ if (!free_mutex) return SASL_FAIL; >+ > result = sasl_MUTEX_LOCK(free_mutex); > if (result!=SASL_OK) return; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 186450
:
125859
|
125861
| 125862