summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/mach/pt-thread-alloc.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2365117..23f6569 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-08-26 Neal H. Walfield <neal@gnu.org>
+
+ * sysdeps/mach/pt-thread-alloc.c (__pthread_thread_alloc): Set
+ THREAD->HAVE_KERNEL_RESOURCES to 1, not true. Reported by Flávio
+ Cruz <Flávio Cruz>.
+
2008-08-16 Neal H. Walfield <neal@gnu.org>
* pthread/pt-alloc.c: Don't include <bits/atomic.h>.
diff --git a/sysdeps/mach/pt-thread-alloc.c b/sysdeps/mach/pt-thread-alloc.c
index 7706a2b..3d7c046 100644
--- a/sysdeps/mach/pt-thread-alloc.c
+++ b/sysdeps/mach/pt-thread-alloc.c
@@ -1,5 +1,5 @@
/* Start thread. Mach version.
- Copyright (C) 2000, 2002, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002, 2005, 2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -100,7 +100,7 @@ __pthread_thread_alloc (struct __pthread *thread)
return EAGAIN;
}
- thread->have_kernel_resources = true;
+ thread->have_kernel_resources = 1;
return 0;
}