summaryrefslogtreecommitdiff
path: root/www/seamonkey/files/patch-nsprpub-pr-include-md-_pth.h
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2005-01-16 23:47:38 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2005-01-16 23:47:38 +0000
commit7f49d25ccc80de55219fa9997ec510d767eed117 (patch)
tree22ffaf08a614243f9e75a83a78569cd897f2a486 /www/seamonkey/files/patch-nsprpub-pr-include-md-_pth.h
parentDocument two vulnerabilities in CUPS. (diff)
Update to 1.8a6. They merged a bunch of FreeBSD changes. Neat.
Notes
Notes: svn path=/head/; revision=126629
Diffstat (limited to 'www/seamonkey/files/patch-nsprpub-pr-include-md-_pth.h')
-rw-r--r--www/seamonkey/files/patch-nsprpub-pr-include-md-_pth.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/www/seamonkey/files/patch-nsprpub-pr-include-md-_pth.h b/www/seamonkey/files/patch-nsprpub-pr-include-md-_pth.h
index 1f8159c70b1f..8d274924400f 100644
--- a/www/seamonkey/files/patch-nsprpub-pr-include-md-_pth.h
+++ b/www/seamonkey/files/patch-nsprpub-pr-include-md-_pth.h
@@ -1,11 +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))
+--- nsprpub/pr/include/md/_pth.h.orig Sun Jan 16 16:09:10 2005
++++ nsprpub/pr/include/md/_pth.h Sun Jan 16 16:10:06 2005
+@@ -84,7 +84,7 @@
+ #define _PT_PTHREAD_MUTEXATTR_DESTROY(x) /* */
+ #define _PT_PTHREAD_MUTEX_INIT(m, a) (memset(&(m), 0, sizeof(m)), \
+ pthread_mutex_init(&(m), NULL))
-#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
+ #define _PT_PTHREAD_CONDATTR_DESTROY(x) /* */
+ #define _PT_PTHREAD_COND_INIT(m, a) (memset(&(m), 0, sizeof(m)), \