- Timestamp:
- Apr 15, 2011, 2:57:02 AM (14 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/exceptions.cpp
r21618 r21619 707 707 RestoreOS2FS(); 708 708 709 SetExceptionChain((ULONG)-1);710 709 DosExit(EXIT_PROCESS, 666); 711 710 } … … 718 717 RestoreOS2FS(); 719 718 720 SetExceptionChain((ULONG)-1);721 719 DosExit(EXIT_THREAD, 666); 722 720 } … … 1263 1261 PrintExceptionChain(); 1264 1262 #endif 1265 SetExceptionChain((ULONG)-1);1266 1263 goto continuesearch; 1267 1264 … … 1672 1669 1673 1670 case XCPT_SIGNAL_KILLPROC: /* resolve signal information */ 1674 SetExceptionChain((ULONG)-1);1675 1671 goto continuesearch; 1676 1672 } … … 1881 1877 //***************************************************************************** 1882 1878 //***************************************************************************** 1883 void SetOS2ExceptionChain(ULONG val)1884 {1885 USHORT sel = GetFS();1886 1887 SetExceptionChain(val);1888 SetFS(sel);1889 }1890 //*****************************************************************************1891 //*****************************************************************************1892 1879 int _System CheckCurFS() 1893 1880 { -
trunk/src/kernel32/exceptutil.h
r9913 r21619 24 24 void OS2SetExceptionHandler(void *exceptframe); 25 25 void OS2UnsetExceptionHandler(void *exceptframe); 26 void SetOS2ExceptionChain(ULONG val);27 26 28 27 #ifdef DEBUG -
trunk/src/kernel32/wprocess.cpp
r21469 r21619 625 625 teb = GetThreadTEB(); 626 626 if(teb) DestroyTEB(teb); 627 SetExceptionChain((ULONG)-1);628 627 629 628 //avoid crashes since win32 & OS/2 exception handler aren't identical
Note:
See TracChangeset
for help on using the changeset viewer.