summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
authorgit <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-06-19 17:39:58 +0900
committergit <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-06-19 17:39:58 +0900
commitcbe06cd3501fdadd0e6e63094da2973484d70b0b (patch)
treec60145af2da083c84ff6ea10299b978174813809 /thread_pthread.c
parent3e5b885cd271e42ba4cb39dc8e612714f88ec889 (diff)
downloadruby-cbe06cd3501fdadd0e6e63094da2973484d70b0b.tar.gz
* remove trailing spaces, expand tabs.
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 5cbe9e041b..75922797bb 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -1157,7 +1157,7 @@ native_thread_create(rb_thread_t *th)
}
else {
pthread_attr_t attr;
- const size_t stack_size = th->vm->default_params.thread_machine_stack_size + th->vm->default_params.thread_vm_stack_size;
+ const size_t stack_size = th->vm->default_params.thread_machine_stack_size + th->vm->default_params.thread_vm_stack_size;
const size_t space = space_size(stack_size);
th->ec->machine.stack_maxsize = stack_size - space;