SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
17
textproc/sphinx/patches/patch-src_sphinxstd_cpp
Normal file
17
textproc/sphinx/patches/patch-src_sphinxstd_cpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
Index: src/sphinxstd.cpp
|
||||
--- src/sphinxstd.cpp.orig
|
||||
+++ src/sphinxstd.cpp
|
||||
@@ -827,13 +827,6 @@ CSphProcessSharedMutex::CSphProcessSharedMutex ( int i
|
||||
m_sError.SetSprintf ( "pthread_mutexattr_init, errno=%d", iRes );
|
||||
return;
|
||||
}
|
||||
- iRes = pthread_mutexattr_setpshared ( &tAttr, PTHREAD_PROCESS_SHARED );
|
||||
- if ( iRes )
|
||||
- {
|
||||
- m_sError.SetSprintf ( "pthread_mutexattr_setpshared, errno = %d", iRes );
|
||||
- pthread_mutexattr_destroy ( &tAttr );
|
||||
- return;
|
||||
- }
|
||||
|
||||
CSphString sError, sWarning;
|
||||
if ( !m_pStorage.Alloc ( sizeof(pthread_mutex_t) + iExtraSize, sError, sWarning ) )
|
Loading…
Add table
Add a link
Reference in a new issue