diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-03-16 22:26:45 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-03-16 22:26:45 +0000 |
commit | a66f0958a1fbe5d64c3c77c01baee10bf23257dd (patch) | |
tree | 8bd667d88be5d0697fbcd2c01292b538abf5b91b /linuxthreads/attr.c | |
parent | aeba9785a6e2e8dca120bb0b62b74ea1eda0a4a8 (diff) | |
download | glibc-a66f0958a1fbe5d64c3c77c01baee10bf23257dd.tar.gz glibc-a66f0958a1fbe5d64c3c77c01baee10bf23257dd.tar.xz glibc-a66f0958a1fbe5d64c3c77c01baee10bf23257dd.zip |
Update.
2001-03-16 Ulrich Drepper <drepper@redhat.com> * sysdeps/ieee754/ldbl-96/s_erfl.c: New file. Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>. * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and erfcl. * sysdeps/ia64/fpu/libm-test-ulps: Likewise. * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
Diffstat (limited to 'linuxthreads/attr.c')
-rw-r--r-- | linuxthreads/attr.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/linuxthreads/attr.c b/linuxthreads/attr.c index 3553069c2e..623b9ba64d 100644 --- a/linuxthreads/attr.c +++ b/linuxthreads/attr.c @@ -193,16 +193,7 @@ int __pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize) problem if the manager is already started and we determined it. If this hasn't happened, we have to find the limit outself. */ if (__pthread_max_stacksize == 0) - { - struct rlimit limit; - - getrlimit(RLIMIT_STACK, &limit); -# ifdef NEED_SEPARATE_REGISTER_STACK - __pthread_max_stacksize = limit.rlim_max / 2; -# else - __pthread_max_stacksize = limit.rlim_max; -# endif - } + __pthread_init_max_stacksize (); if (stacksize > __pthread_max_stacksize) return EINVAL; |