aboutsummaryrefslogtreecommitdiff
path: root/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp')
-rw-r--r--www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp b/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
index ff88de2ba2df..3cb45f175317 100644
--- a/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
+++ b/www/seamonkey/files/patch-mozilla__xpcom__threads__nsThreadManager.cpp
@@ -1,14 +1,14 @@
--- ./mozilla/xpcom/threads/nsThreadManager.cpp.orig 2011-08-25 02:37:45.000000000 +0200
+++ ./mozilla/xpcom/threads/nsThreadManager.cpp 2011-08-28 17:14:14.000000000 +0200
-@@ -89,6 +89,11 @@
+@@ -57,6 +57,11 @@
nsresult
nsThreadManager::Init()
{
-+#ifdef NS_TLS && (__FreeBSD_version < 802513 \
++#if defined(NS_TLS) && (__FreeBSD_version < 802513 \
+ || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900045))
+ if (!gTLSThreadID)
+ gTLSThreadID = mozilla::threads::Generic;
+#endif
- if (!mThreadsByPRThread.Init())
- return NS_ERROR_OUT_OF_MEMORY;
+ mThreadsByPRThread.Init();
+ if (PR_NewThreadPrivateIndex(&mCurThreadIndex, ReleaseObject) == PR_FAILURE)