From fda102e1c29d195a8377154a34263c91ea06a387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 26 Aug 2022 23:16:46 +0700 Subject: [PATCH] uwsgi: fix patch's whitespace The intention was always not exit when failed to setprotocol INHERIT --- srcpkgs/uwsgi/patches/musl-locking-fix.patch | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/srcpkgs/uwsgi/patches/musl-locking-fix.patch b/srcpkgs/uwsgi/patches/musl-locking-fix.patch index ce3b080a290..2177ccdfd3f 100644 --- a/srcpkgs/uwsgi/patches/musl-locking-fix.patch +++ b/srcpkgs/uwsgi/patches/musl-locking-fix.patch @@ -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)) {