This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bob.ippolito
Recipients
Date 2005-03-15.23:08:45
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=139309

uh oh, must be another bug in the OS I'm using (or sourceforge)...

Hopefully this is suitable for now, the patch is near trivial anyway:

--- Python-2.4.1c1/Python/thread_pthread.h  2004-07-07 
13:44:12.000000000 -0400
+++ /Users/bob/src/Python-2.4.1c1/Python/thread_pthread.h   
2005-03-14 14:54:00.000000000 -0500
@@ -16,9 +16,13 @@
    family of functions must indicate this by defining
    _POSIX_SEMAPHORES. */
 #ifdef _POSIX_SEMAPHORES
+#if _POSIX_SEMAPHORES == -1
+#define HAVE_BROKEN_POSIX_SEMAPHORES
+#else
 #include <semaphore.h>
 #include <errno.h>
 #endif
+#endif

 #if !defined(pthread_attr_default)
 #  define pthread_attr_default ((pthread_attr_t *)NULL)
History
Date User Action Args
2007-08-23 15:42:13adminlinkissue1163249 messages
2007-08-23 15:42:13admincreate