From: Rosen Penev Date: Sat, 18 Apr 2020 07:58:59 +0000 (-0700) Subject: libupnp: remove patch that should not be there X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=04d228f9e63849201e4e3b452442d61aea246d21;p=feed%2Fpackages.git libupnp: remove patch that should not be there Signed-off-by: Rosen Penev --- diff --git a/libs/libupnp/patches/100-fix-pthread-detach.patch b/libs/libupnp/patches/100-fix-pthread-detach.patch deleted file mode 100644 index 5e384d3011..0000000000 --- a/libs/libupnp/patches/100-fix-pthread-detach.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 386b7ed79146ecf7a3bba49f48cb8f41a9b49170 Mon Sep 17 00:00:00 2001 -From: Jean-Francois Dockes -Date: Sun, 27 Jan 2019 10:44:17 +0100 -Subject: [PATCH] Do not try to detach detached thread, the result is - undefined. Fixes issue #102 - ---- - upnp/src/threadutil/ThreadPool.c | 5 ----- - 1 file changed, 5 deletions(-) - ---- a/upnp/src/threadutil/ThreadPool.c -+++ b/upnp/src/threadutil/ThreadPool.c -@@ -651,11 +651,6 @@ static int CreateWorker( - rc = ithread_create(&temp, &attr, WorkerThread, tp); - ithread_attr_destroy(&attr); - if (rc == 0) { -- rc = ithread_detach(temp); -- /* ithread_detach will return EINVAL if thread has been -- successfully detached by ithread_create */ -- if (rc == EINVAL) -- rc = 0; - tp->pendingWorkerThreadStart = 1; - /* wait until the new worker thread starts */ - while (tp->pendingWorkerThreadStart) {