summaryrefslogtreecommitdiffstats
path: root/security/newpki-lib/files/patch-src_CriticalSection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'security/newpki-lib/files/patch-src_CriticalSection.cpp')
-rw-r--r--security/newpki-lib/files/patch-src_CriticalSection.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/newpki-lib/files/patch-src_CriticalSection.cpp b/security/newpki-lib/files/patch-src_CriticalSection.cpp
new file mode 100644
index 0000000..6bd8192
--- /dev/null
+++ b/security/newpki-lib/files/patch-src_CriticalSection.cpp
@@ -0,0 +1,11 @@
+--- src/CriticalSection.cpp.orig Tue Jul 5 03:01:18 2005
++++ src/CriticalSection.cpp Tue Jul 5 03:01:33 2005
+@@ -43,7 +43,7 @@
+ assert(hMutex != NULL);
+ #else
+ pthread_mutexattr_init(&recmutex);
+- pthread_mutexattr_settype(&recmutex, PTHREAD_MUTEX_RECURSIVE_NP);
++ pthread_mutexattr_settype(&recmutex, PTHREAD_MUTEX_RECURSIVE);
+ pthread_mutex_init(&lpCriticalSection, &recmutex);
+ #endif
+ #ifdef _DEBUG
OpenPOWER on IntegriCloud