mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
uwsgi: fix patch's whitespace
The intention was always not exit when failed to setprotocol INHERIT
This commit is contained in:
parent
9d9894c735
commit
fda102e1c2
1 changed files with 7 additions and 7 deletions
|
@ -1,12 +1,12 @@
|
|||
--- a/core/lock.c
|
||||
+++ b/core/lock.c
|
||||
@@ -96,7 +96,9 @@
|
||||
#endif
|
||||
if (pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_INHERIT)) {
|
||||
uwsgi_log("unable to set PTHREAD_PRIO_INHERIT\n");
|
||||
@@ -108,7 +108,9 @@ retry:
|
||||
break;
|
||||
default:
|
||||
uwsgi_log("unable to set PTHREAD_PRIO_INHERIT\n");
|
||||
+#if 0
|
||||
exit(1);
|
||||
exit(1);
|
||||
+#endif
|
||||
}
|
||||
if (uwsgi_pthread_robust_mutexes_enabled) {
|
||||
}
|
||||
}
|
||||
if (pthread_mutexattr_setrobust(&attr, PTHREAD_MUTEX_ROBUST)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue