Changeset 4229 for trunk/src


Ignore:
Timestamp:
Sep 9, 2000, 10:59:55 AM (25 years ago)
Author:
sandervl
Message:

exception handler changes/fixes (after ExitProcess has been called

Location:
trunk/src/kernel32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/exceptions.cpp

    r4224 r4229  
    1 /* $Id: exceptions.cpp,v 1.43 2000-09-08 18:07:49 sandervl Exp $ */
     1/* $Id: exceptions.cpp,v 1.44 2000-09-09 08:59:54 sandervl Exp $ */
    22
    33/* WARNING: Compiling this module with ICC with optimizations turned on   */
     
    10761076        dprintfException(pERepRec, pERegRec, pCtxRec, p);
    10771077        dprintf(("KERNEL32: OS2ExceptionHandler: FPU exception\n"));
    1078         if(fIsOS2Image == FALSE)  //Only for real win32 apps
     1078        if(!fIsOS2Image && !fExitProcess)  //Only for real win32 apps
    10791079        {
    10801080                if(OSLibDispatchException(pERepRec, pERegRec, pCtxRec, p) == FALSE)
     
    11811181        }
    11821182#endif
    1183         if(fIsOS2Image == FALSE)  //Only for real win32 apps
     1183        if(!fIsOS2Image && !fExitProcess)  //Only for real win32 apps
    11841184        {
    11851185                if(OSLibDispatchException(pERepRec, pERegRec, pCtxRec, p) == TRUE)
  • trunk/src/kernel32/oslibexcept.cpp

    r4224 r4229  
    1 /* $Id: oslibexcept.cpp,v 1.3 2000-09-08 18:07:50 sandervl Exp $ */
     1/* $Id: oslibexcept.cpp,v 1.4 2000-09-09 08:59:55 sandervl Exp $ */
    22/*
    33 * Exception handler util. procedures
     
    182182  case XCPT_UNABLE_TO_GROW_STACK:
    183183  case XCPT_IN_PAGE_ERROR:
     184  default:
    184185        SetFS(oldsel);  //restore FS
    185186        return FALSE; //let's not dispatch those for now
  • trunk/src/kernel32/wprocess.cpp

    r4035 r4229  
    1 /* $Id: wprocess.cpp,v 1.89 2000-08-18 18:16:34 sandervl Exp $ */
     1/* $Id: wprocess.cpp,v 1.90 2000-09-09 08:59:55 sandervl Exp $ */
    22
    33/*
     
    5353//******************************************************************************
    5454BOOL      fIsOS2Image = FALSE;  //TRUE  -> Odin32 OS/2 application (not converted!)
    55                             //FALSE -> otherwise
     55                                //FALSE -> otherwise
     56BOOL      fExitProcess = FALSE;
     57
    5658//Process database
    5759PDB       ProcessPDB = {0};
     
    400402    dprintf(("KERNEL32:  ExitProcess %d\n", exitcode));
    401403    dprintf(("KERNEL32:  ExitProcess FS = %x\n", GetFS()));
     404
     405    fExitProcess = TRUE;
    402406
    403407    SetOS2ExceptionChain(-1);
Note: See TracChangeset for help on using the changeset viewer.