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; }