https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=4998ac43411001a4757537b0312443493cf69112
commit 4998ac43411001a4757537b0312443493cf69112 Author: Corinna Vinschen <[email protected]> Date: Thu Nov 12 11:52:02 2015 +0100 Add comment to explain previous patch Signed-off-by: Corinna Vinschen <[email protected]> Diff: --- winsup/cygwin/init.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/winsup/cygwin/init.cc b/winsup/cygwin/init.cc index c6f0e3d..9dabf5f 100644 --- a/winsup/cygwin/init.cc +++ b/winsup/cygwin/init.cc @@ -57,6 +57,8 @@ munge_threadfunc () { char *threadfunc = NULL; + /* This call to NtQueryInformationThread crashes under WOW64 on + 64 bit XP and Server 2003. */ if (wincap.wow64_has_secondary_stack ()) threadfunc = ebp[threadfunc_ix[0]]; else
