Changeset 1137
- Timestamp:
 - Oct 5, 1999, 4:28:52 PM (26 years ago)
 - Location:
 - trunk
 - Files:
 - 
      
- 3 edited
 
- 
          
  changelog (modified) (1 diff)
 - 
          
  src/Odin32API/odinexe.cpp (modified) (3 diffs)
 - 
          
  src/kernel32/exceptions.cpp (modified) (2 diffs)
 
 
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. 2 9 3 10 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:47sandervl Exp $ */1 /* $Id: odinexe.cpp,v 1.3 1999-10-05 14:28:52 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Odin32 Application executable entrypoint … … 12 12 #include <win32type.h> 13 13 #include <odinlx.h> 14 #include <exceptions.h>15 14 16 15 //Win32 app entrypoint: … … 28 27 int main(int argc, char *argv[]) 29 28 { 30 WINEXCEPTION_FRAME exceptFrame;31 32 OS2SetExceptionHandler(&exceptFrame);33 29 RegisterLxExe(WinMain, (PVOID)&_Resource_PEResTab); 34 OS2UnsetExceptionHandler(&exceptFrame);35 30 } 36 31 //******************************************************************************  - 
      
trunk/src/kernel32/exceptions.cpp
r805 r1137 1 /* $Id: exceptions.cpp,v 1. 19 1999-09-02 20:56:48 phallerExp $ */1 /* $Id: exceptions.cpp,v 1.20 1999-10-05 14:28:33 sandervl Exp $ */ 2 2 3 3 /* … … 1000 1000 void OS2UnsetExceptionHandler(void *exceptframe) 1001 1001 { 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); 1003 1006 } 1004 1007  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  