[PATCH] ntdll/signal_i386.c: RtlCaptureContext locals + args are 12 bytes instead of 8 (return address + CONTEXT * arg + %eax local

Alexandre Julliard julliard at winehq.org
Tue Sep 27 10:41:54 CDT 2011


Bernhard Loos <bernhardloos at googlemail.com> writes:

> Nothing specific. I noticed this yesterday, while trying to use this
> function for RtlRaiseException, before you pointed out the register
> problem.
>
> Wouldn't it be better to rename this functions as it behaves
> differently then the windows version so apps get an actual error
> message instead of unexpected behavior?

Not really. Retrieving the exact stack pointer is unlikely to be all
that useful anyway.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list