aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/nspr/files/patch-..::pr::include::md::_pth.h11
-rw-r--r--mail/thunderbird-devel/files/patch-nsprpub-pr-include-md-_pth.h11
-rw-r--r--mail/thunderbird-esr/files/patch-nsprpub-pr-include-md-_pth.h11
-rw-r--r--mail/thunderbird/files/patch-nsprpub-pr-include-md-_pth.h11
-rw-r--r--mail/thunderbird3/files/patch-nsprpub-pr-include-md-_pth.h11
-rw-r--r--www/firefox-devel/files/patch-nsprpub-pr-include-md-_pth.h11
-rw-r--r--www/firefox-esr/files/patch-nsprpub-pr-include-md-_pth.h11
-rw-r--r--www/firefox/files/patch-nsprpub-pr-include-md-_pth.h11
-rw-r--r--www/firefox10/files/patch-nsprpub-pr-include-md-_pth.h11
-rw-r--r--www/firefox15/files/patch-nsprpub-pr-include-md-_pth.h11
-rw-r--r--www/firefox3-devel/files/patch-nsprpub-pr-include-md-_pth.h11
-rw-r--r--www/firefox35/files/patch-nsprpub-pr-include-md-_pth.h11
-rw-r--r--www/firefox36/files/patch-nsprpub-pr-include-md-_pth.h11
-rw-r--r--www/flock/files/patch-nsprpub-pr-include-md-_pth.h11
-rw-r--r--www/mozilla-devel/files/patch-nsprpub-pr-include-md-_pth.h11
-rw-r--r--www/mozilla/files/patch-nsprpub-pr-include-md-_pth.h11
-rw-r--r--www/seamonkey/files/patch-nsprpub-pr-include-md-_pth.h11
-rw-r--r--www/seamonkey2/files/patch-nsprpub-pr-include-md-_pth.h11
18 files changed, 198 insertions, 0 deletions
diff --git a/devel/nspr/files/patch-..::pr::include::md::_pth.h b/devel/nspr/files/patch-..::pr::include::md::_pth.h
new file mode 100644
index 000000000000..f7c280fd46c4
--- /dev/null
+++ b/devel/nspr/files/patch-..::pr::include::md::_pth.h
@@ -0,0 +1,11 @@
+--- ../pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ ../pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/mail/thunderbird-devel/files/patch-nsprpub-pr-include-md-_pth.h b/mail/thunderbird-devel/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/mail/thunderbird-devel/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/mail/thunderbird-esr/files/patch-nsprpub-pr-include-md-_pth.h b/mail/thunderbird-esr/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/mail/thunderbird-esr/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/mail/thunderbird/files/patch-nsprpub-pr-include-md-_pth.h b/mail/thunderbird/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/mail/thunderbird/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/mail/thunderbird3/files/patch-nsprpub-pr-include-md-_pth.h b/mail/thunderbird3/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/mail/thunderbird3/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/www/firefox-devel/files/patch-nsprpub-pr-include-md-_pth.h b/www/firefox-devel/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/www/firefox-devel/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/www/firefox-esr/files/patch-nsprpub-pr-include-md-_pth.h b/www/firefox-esr/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/www/firefox-esr/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/www/firefox/files/patch-nsprpub-pr-include-md-_pth.h b/www/firefox/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/www/firefox/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/www/firefox10/files/patch-nsprpub-pr-include-md-_pth.h b/www/firefox10/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/www/firefox10/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/www/firefox15/files/patch-nsprpub-pr-include-md-_pth.h b/www/firefox15/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/www/firefox15/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/www/firefox3-devel/files/patch-nsprpub-pr-include-md-_pth.h b/www/firefox3-devel/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/www/firefox3-devel/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/www/firefox35/files/patch-nsprpub-pr-include-md-_pth.h b/www/firefox35/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/www/firefox35/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/www/firefox36/files/patch-nsprpub-pr-include-md-_pth.h b/www/firefox36/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/www/firefox36/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/www/flock/files/patch-nsprpub-pr-include-md-_pth.h b/www/flock/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/www/flock/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/www/mozilla-devel/files/patch-nsprpub-pr-include-md-_pth.h b/www/mozilla-devel/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/www/mozilla-devel/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/www/mozilla/files/patch-nsprpub-pr-include-md-_pth.h b/www/mozilla/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/www/mozilla/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/www/seamonkey/files/patch-nsprpub-pr-include-md-_pth.h b/www/seamonkey/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/www/seamonkey/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else
diff --git a/www/seamonkey2/files/patch-nsprpub-pr-include-md-_pth.h b/www/seamonkey2/files/patch-nsprpub-pr-include-md-_pth.h
new file mode 100644
index 000000000000..1f8159c70b1f
--- /dev/null
+++ b/www/seamonkey2/files/patch-nsprpub-pr-include-md-_pth.h
@@ -0,0 +1,11 @@
+--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
++++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
+@@ -90,7 +90,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a))
+-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
++#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
+ #if defined(DARWIN)
+ #define _PT_PTHREAD_CONDATTR_INIT(x) 0
+ #else