Changeset 1137


Ignore:
Timestamp:
Oct 5, 1999, 4:28:52 PM (26 years ago)
Author:
sandervl
Message:

* empty log message *

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/changelog

    r1135 r1137  
    1  /* $Id: changelog,v 1.270 1999-10-04 22:48:05 phaller Exp $ */
     1 /* $Id: changelog,v 1.271 1999-10-05 14:28:06 sandervl Exp $ */
     2
     3 99-10-05: Sander van Leeuwen <sandervl@xs4all.nl>
     4        - KERNEL32: Set fs:0 to -1 in OS2UnsetExceptionHandler.
     5                    Prevents crash due to corrupted handler chain (see
     6                    comments in that function)
     7        - ODIN32API: Remove exception handler set & unset. Not necessary
     8                     as it's also done in the start method of an exe image.
    29
    310 99-10-04: Patrick Haller <phaller@gmx.net>
  • trunk/src/Odin32API/odinexe.cpp

    r977 r1137  
    1 /* $Id: odinexe.cpp,v 1.2 1999-09-18 17:46:47 sandervl Exp $ */
     1/* $Id: odinexe.cpp,v 1.3 1999-10-05 14:28:52 sandervl Exp $ */
    22/*
    33 * Win32 Odin32 Application executable entrypoint
     
    1212#include <win32type.h>
    1313#include <odinlx.h>
    14 #include <exceptions.h>
    1514
    1615//Win32 app entrypoint:
     
    2827int main(int argc, char *argv[])
    2928{
    30  WINEXCEPTION_FRAME exceptFrame;
    31 
    32   OS2SetExceptionHandler(&exceptFrame);
    3329  RegisterLxExe(WinMain, (PVOID)&_Resource_PEResTab);
    34   OS2UnsetExceptionHandler(&exceptFrame);
    3530}
    3631//******************************************************************************
  • trunk/src/kernel32/exceptions.cpp

    r805 r1137  
    1 /* $Id: exceptions.cpp,v 1.19 1999-09-02 20:56:48 phaller Exp $ */
     1/* $Id: exceptions.cpp,v 1.20 1999-10-05 14:28:33 sandervl Exp $ */
    22
    33/*
     
    10001000void OS2UnsetExceptionHandler(void *exceptframe)
    10011001{
    1002   DosUnsetExceptionHandler((PEXCEPTIONREGISTRATIONRECORD)exceptframe);
     1002  SetExceptionChain(-1);
     1003  //TODO: Somebody messes up the exception handler chaing when executing
     1004  //      the LX version of generic, opening the About dialogbox and quitting
     1005//  DosUnsetExceptionHandler((PEXCEPTIONREGISTRATIONRECORD)exceptframe);
    10031006}
    10041007
Note: See TracChangeset for help on using the changeset viewer.