Changeset 2535 for trunk/src/kernel32/exceptions.cpp
- Timestamp:
- Jan 27, 2000, 10:51:17 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/exceptions.cpp
r2298 r2535 1 /* $Id: exceptions.cpp,v 1.3 1 2000-01-02 22:09:01sandervl Exp $ */1 /* $Id: exceptions.cpp,v 1.32 2000-01-27 21:51:16 sandervl Exp $ */ 2 2 3 3 /* … … 1077 1077 PEXCEPTIONREGISTRATIONRECORD pExceptRec = (PEXCEPTIONREGISTRATIONRECORD)exceptframe; 1078 1078 1079 pExceptRec->prev_structure = (PEXCEPTIONREGISTRATIONRECORD) -1;1079 pExceptRec->prev_structure = (PEXCEPTIONREGISTRATIONRECORD)0; 1080 1080 pExceptRec->ExceptionHandler = OS2ExceptionHandler; 1081 1081 … … 1111 1111 } 1112 1112 1113 int _System CheckCurFS() 1114 { 1115 USHORT sel = RestoreOS2FS(); 1116 PEXCEPTIONREGISTRATIONRECORD pExceptRec; 1117 1118 if(sel == 0x150b) { 1119 SetFS(sel); 1120 return FALSE; 1121 } 1122 pExceptRec = (PEXCEPTIONREGISTRATIONRECORD)QueryExceptionChain(); 1123 if(pExceptRec->ExceptionHandler != OS2ExceptionHandler) { 1124 SetFS(sel); 1125 return FALSE; 1126 } 1127 SetFS(sel); 1128 return TRUE; 1129 } 1130 1113 1131 /***************************************************************************** 1114 1132 * Name : void ReplaceExceptionHandler
Note:
See TracChangeset
for help on using the changeset viewer.