msvcrt: Make EXCEPTION_PRIV_INSTRUCTION generate SIGILL.

This commit is contained in:
Philip Nilsson 2008-03-24 21:53:49 +01:00 committed by Alexandre Julliard
parent 6bb26abe81
commit 5d583c3ac7

View File

@ -497,6 +497,7 @@ static LONG WINAPI msvcrt_exception_filter(struct _EXCEPTION_POINTERS *except)
}
break;
case EXCEPTION_ILLEGAL_INSTRUCTION:
case EXCEPTION_PRIV_INSTRUCTION:
if ((handler = sighandlers[MSVCRT_SIGILL]) != MSVCRT_SIG_DFL)
{
if (handler != MSVCRT_SIG_IGN)