On Apr 27 12:16, Cesar Strauss wrote:
> If I understood correctly, the "else" block is meant to be executed on 32
> bit systems, so that those flags are reset on Vista 32.
>
> But you are testing the return value of IsWow64Process, which is only an
> indication that the function succeeded. [...]
Please consider the following snippet from src/winsup/cygwin/wincap.cc
(wincapc::init):
BOOL is_wow64_proc = FALSE;
if (IsWow64Process (GetCurrentProcess (), &is_wow64_proc))
wow64 = is_wow64_proc;
else
{
((wincaps *)this->caps)->needs_count_in_si_lpres2 = false;
((winca
2 matches
Mail list logo