summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2008-08-26 13:58:29 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-04-08 00:00:03 +0200
commitf4808bce7c79f08f2866dde95a4b58ea63b62a94 (patch)
tree61ae8d007ab2b7b9c58bdeafa49e32da68f6c749 /sysdeps
parent437dc507644e3067cac5899b00b6eb074997cd1c (diff)
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>.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/pt-thread-alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/pt-thread-alloc.c b/sysdeps/mach/pt-thread-alloc.c
index 7706a2bd..3d7c0465 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;
}