ports/textproc/sphinx/patches/patch-src_sphinxstd_cpp

18 lines
578 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
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 ) )