diff options
| author | Nathan Johnson <nathan@nathanjohnson.info> | 2016-04-25 18:30:11 -0500 |
|---|---|---|
| committer | Timo Teräs <timo.teras@iki.fi> | 2016-05-27 05:57:11 +0000 |
| commit | de1c9e4e631599d7b7a80448658714a69707a943 (patch) | |
| tree | 6093376d9371db82f65d72622e394988080a8308 /testing/libcouchbase/fix_ioserver_tests.patch | |
| parent | 359f5b357cecb562a8b0af41e3f69d06a72b718e (diff) | |
| download | aports-de1c9e4e631599d7b7a80448658714a69707a943.tar.bz2 aports-de1c9e4e631599d7b7a80448658714a69707a943.tar.xz | |
testing/libcouchbase: update to 2.5.8
removed fix_ioserver_tests.patch since it was merged upstream.
Diffstat (limited to 'testing/libcouchbase/fix_ioserver_tests.patch')
| -rw-r--r-- | testing/libcouchbase/fix_ioserver_tests.patch | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/testing/libcouchbase/fix_ioserver_tests.patch b/testing/libcouchbase/fix_ioserver_tests.patch deleted file mode 100644 index 5e35567fc..000000000 --- a/testing/libcouchbase/fix_ioserver_tests.patch +++ /dev/null @@ -1,54 +0,0 @@ -From c941e4f79748937b117aebc0ee961325b666053d Mon Sep 17 00:00:00 2001 -From: Nathan Johnson <nathan@nathanjohnson.org> -Date: Sun, 28 Feb 2016 12:04:45 -0600 -Subject: [PATCH] CCBC-683 Remove double calls to pthread_join in ioserver tests. - -Call join() from threads-win32 close() to be consistent with pthreads. - -Change-Id: I62566a588eb7036205e75945305cf2277db0e00a ---- - -diff --git a/tests/ioserver/connection.cc b/tests/ioserver/connection.cc -index 23712d8..7e423eb 100644 ---- a/tests/ioserver/connection.cc -+++ b/tests/ioserver/connection.cc -@@ -152,7 +152,10 @@ - ctlfd_user->close(); - ctlfd_lsn->close(); - datasock->close(); -- thr->join(); -+ // We don't want to explicitly call join() here since that -+ // gets called in the destructor. This is unncessary -+ // and broken on musl. -+ // thr->join(); - delete thr; - mutex.close(); - initcond.close(); -diff --git a/tests/ioserver/ioserver.cc b/tests/ioserver/ioserver.cc -index a9bce67..c5f5b14 100644 ---- a/tests/ioserver/ioserver.cc -+++ b/tests/ioserver/ioserver.cc -@@ -63,7 +63,10 @@ - delete *iter; - } - mutex.unlock(); -- thr->join(); -+ // We don't want to explicitly call join() here since that -+ // gets called in the destructor. This is unncessary -+ // and broken on musl. -+ // thr->join(); - delete thr; - mutex.close(); - delete lsn; -diff --git a/tests/ioserver/threads-win32.cc b/tests/ioserver/threads-win32.cc -index 9ed9614..1e5710a 100644 ---- a/tests/ioserver/threads-win32.cc -+++ b/tests/ioserver/threads-win32.cc -@@ -36,6 +36,7 @@ - Thread::close() - { - if (initialized) { -+ join(); - CloseHandle(hThread); - initialized = false; - } |
