mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
kernel32: Don't save the signal mask in sigsetjmp.
This shouldn't be needed anymore now that exceptions are not handled on the signal stack, and signal mask handling is broken on Mac OS.
This commit is contained in:
parent
78fba54ab7
commit
b1789fc73f
@ -188,7 +188,7 @@ void WINAPI SwitchToFiber( LPVOID fiber )
|
||||
/* stack_allocation and stack_base never change */
|
||||
|
||||
/* FIXME: should save floating point context if requested in fiber->flags */
|
||||
if (!sigsetjmp( current_fiber->jmpbuf, 1 ))
|
||||
if (!sigsetjmp( current_fiber->jmpbuf, 0 ))
|
||||
{
|
||||
NtCurrentTeb()->Tib.u.FiberData = new_fiber;
|
||||
NtCurrentTeb()->Tib.ExceptionList = new_fiber->except;
|
||||
|
@ -94,7 +94,7 @@
|
||||
__f.frame.Handler = __wine_exception_handler; \
|
||||
__f.u.filter = (func); \
|
||||
__wine_push_frame( &__f.frame ); \
|
||||
if (sigsetjmp( __f.jmp, 1 )) { \
|
||||
if (sigsetjmp( __f.jmp, 0 )) { \
|
||||
const __WINE_FRAME * const __eptr __attribute__((unused)) = &__f; \
|
||||
do {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user