From 6a8a852bcb7b70fdd2c7f43e2b5c6effa6f9a24e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 23 Sep 2003 06:13:18 +0000 Subject: Update. 2003-09-20 Alfred M. Szmidt * sysdeps/generic/utmp_file.c (setutent_file, LOCK_FILE, UNLOCK_FILE, setutent_file): Use fcntl_not_cancel instead of __fcntl_nocancel. --- linuxthreads/attr.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linuxthreads/attr.c') diff --git a/linuxthreads/attr.c b/linuxthreads/attr.c index 5bef26504e..56f6cba092 100644 --- a/linuxthreads/attr.c +++ b/linuxthreads/attr.c @@ -36,7 +36,11 @@ int __pthread_attr_init_2_1(pthread_attr_t *attr) attr->__schedparam.sched_priority = 0; attr->__inheritsched = PTHREAD_EXPLICIT_SCHED; attr->__scope = PTHREAD_SCOPE_SYSTEM; +#ifdef NEED_SEPARATE_REGISTER_STACK + attr->__guardsize = ps + ps; +#else attr->__guardsize = ps; +#endif attr->__stackaddr = NULL; attr->__stackaddr_set = 0; attr->__stacksize = STACK_SIZE - ps; -- cgit v1.2.3