summaryrefslogtreecommitdiffstats
path: root/http/firefox/patches/6005_musl_pthread_setname.patch
diff options
context:
space:
mode:
Diffstat (limited to 'http/firefox/patches/6005_musl_pthread_setname.patch')
-rw-r--r--http/firefox/patches/6005_musl_pthread_setname.patch15
1 files changed, 8 insertions, 7 deletions
diff --git a/http/firefox/patches/6005_musl_pthread_setname.patch b/http/firefox/patches/6005_musl_pthread_setname.patch
index 7942a5b0c6..75a37d2e31 100644
--- a/http/firefox/patches/6005_musl_pthread_setname.patch
+++ b/http/firefox/patches/6005_musl_pthread_setname.patch
@@ -1,11 +1,12 @@
-From: Jory A. Pratt <anarchy@gentoo.org>
-
+# HG changeset patch
+# User Jory A. Pratt <anarchy@gentoo.org>
+# Parent c8a96cc4fd48dfad892f7b92f8a472ea71e683e9
set pthread name for non glibc systems
-diff --git a/js/src/threading/posix/Thread.cpp b/js/src/threading/posix/Thread.cpp
---- a/js/src/threading/posix/Thread.cpp
-+++ b/js/src/threading/posix/Thread.cpp
-@@ -155,18 +155,20 @@ void js::ThisThread::SetName(const char*
+diff --git a/js/src/threading/posix/PosixThread.cpp b/js/src/threading/posix/PosixThread.cpp
+--- a/js/src/threading/posix/PosixThread.cpp
++++ b/js/src/threading/posix/PosixThread.cpp
+@@ -94,18 +94,20 @@ void ThisThread::SetName(const char* nam
int rv;
#ifdef XP_DARWIN
rv = pthread_setname_np(name);
@@ -23,7 +24,7 @@ diff --git a/js/src/threading/posix/Thread.cpp b/js/src/threading/posix/Thread.c
MOZ_RELEASE_ASSERT(!rv || mozilla::recordreplay::IsRecordingOrReplaying());
}
- void js::ThisThread::GetName(char* nameBuffer, size_t len) {
+ void ThisThread::GetName(char* nameBuffer, size_t len) {
MOZ_RELEASE_ASSERT(len >= 16);
int rv = -1;