Am 23.01.2011 18:20, schrieb Janne Hakonen:
Hi and welcome to wine development!
First i see is that your mail application wrapped the patch ( that is when long likes brake down into the next line ). Then you have a whitespace issue in the makefile i think... further you should consider using IsBadReadPtr instead of try...except, but i'm not sure if that would work.
If you solved the issues, you can send the patch to wine-patches@winehq.org and can track the status at source.winehq.org/patches
--
Best Regards, André Hentschel
On 01/23/2011 10:54 AM, André Hentschel wrote:
further you should consider using IsBadReadPtr instead of try...except, but i'm not sure if that would work.
No, one should never ever use those functions. Even MS says they ave evil. Try .. except is the right thing to use here.
On 01/23/2011 10:20 AM, Janne Hakonen wrote:
I created a new signal.c file for the test case under ntdll/tests since I couldn’t find more fitting place.
Not a good idea. Please put the test into rtl.c
Please put ok() check inside get_back_trace_with_invalid_frame_pointer().
Please use HeapAlloc/HeapFree. Don't cast void pointers. Here you don't need to allocate anything, just use a stack variable.
Also you not checking the return value from RtlCaptureStackBackTrace(). Please do.
Vitaliy.