kernel32: Work around safety check on siglongjmp

Maarten Lankhorst m.b.lankhorst at gmail.com
Tue Jan 26 05:49:43 CST 2010


Since fibres have their own stack, the paranoid version of siglongjmp 
enabled with _FORTIFY_SOURCE thinks that the stack pointer is garbled. 
Since ubuntu 10.4, fedora, and gentoo are all affected, just undef 
_FORTIFY_SOURCE before including setjmp.h here.

This fixes bug 21405
---
The other calls of longjmp are unaffected, since wine either uses its 
own functions, or uses it in a way that doesn't cause stack switching.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fiber.patch
Type: text/x-diff
Size: 420 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100126/399f9ca1/attachment.patch>


More information about the wine-patches mailing list