From abb205a9fa39a8dfeea78374c230558b9c38553e Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 20 May 2011 18:15:12 +0000 Subject: [PATCH] * miscfuncs.cc (CygwinCreateThread): Add accidentally missing comment. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/miscfuncs.cc | 1 + 2 files changed, 5 insertions(+) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 679d9295a..09fe1ea59 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2011-05-20 Corinna Vinschen + + * miscfuncs.cc (CygwinCreateThread): Add accidentally missing comment. + 2011-05-20 Corinna Vinschen * fhandler_process.cc (struct heap_info): Change type of base and end diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc index af0a355da..98db1f591 100644 --- a/winsup/cygwin/miscfuncs.cc +++ b/winsup/cygwin/miscfuncs.cc @@ -527,6 +527,7 @@ CygwinCreateThread (LPTHREAD_START_ROUTINE thread_func, PVOID thread_arg, real_stacksize = PTHREAD_STACK_MIN; if (stackaddr) { + /* If the application provided the stack, just use it. */ wrapper_arg->stackaddr = (char *) stackaddr; wrapper_arg->stackbase = (char *) stackaddr + real_stacksize; } -- 2.43.5