Ignore:
Timestamp:
Aug 6, 2012, 2:01:29 AM (13 years ago)
Author:
dmik
Message:

kernel32: Disable Win32 TIB switch completely by default.

Previously, It was ON until the EXE type had been identified (e.g. when
loading KERNEL32.DLL and the DLLs it drags in). This could make
some apps spin in an exception handler loop (like OpenOffice
trying to load JVM.DLL).

This closes #83.

File:
1 edited

Legend:

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

    r21999 r22010  
    4747 PTIB   ptib;
    4848
    49   if (!fForceWin32TIB) {
     49  if (fForceWin32TIB) {
     50      fSwitchTIBSel = TRUE;
     51  } else {
    5052      //Signal to TEB management that we're a real OS/2 app and don't
    5153      //require setting FS to our special win32 selector
Note: See TracChangeset for help on using the changeset viewer.