msvcrt: Make EXCEPTION_PRIV_INSTRUCTION generate SIGILL.

Philip Nilsson pnilsson at nullref.se
Mon Mar 24 15:53:49 CDT 2008


---
 dlls/msvcrt/except.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/msvcrt/except.c b/dlls/msvcrt/except.c
index 4cb1436..296c656 100644
--- a/dlls/msvcrt/except.c
+++ b/dlls/msvcrt/except.c
@@ -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)
-- 
1.5.5.3


--jI8keyz6grp/JLjh--



More information about the wine-patches mailing list