Message47977
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) |
|
Date |
User |
Action |
Args |
2007-08-23 15:42:13 | admin | link | issue1163249 messages |
2007-08-23 15:42:13 | admin | create | |
|