projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
floating point environment, untested
[oweals/musl.git]
/
src
/
thread
/
pthread_attr_setstacksize.c
diff --git
a/src/thread/pthread_attr_setstacksize.c
b/src/thread/pthread_attr_setstacksize.c
index df16b980886e54c2581c4004e811fcc45c17df19..e4de5208eeba54935a881b10b3366ad8df88392d 100644
(file)
--- a/
src/thread/pthread_attr_setstacksize.c
+++ b/
src/thread/pthread_attr_setstacksize.c
@@
-2,7
+2,7
@@
int pthread_attr_setstacksize(pthread_attr_t *a, size_t size)
{
- if (size-P
AGE_SIZE
> SIZE_MAX/4) return EINVAL;
+ if (size-P
THREAD_STACK_MIN
> SIZE_MAX/4) return EINVAL;
a->_a_stacksize = size - DEFAULT_STACK_SIZE;
return 0;
}