Changeset 1221 for trunk/src/kernel32/wprocess.cpp
- Timestamp:
- Oct 9, 1999, 3:33:25 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/wprocess.cpp
r1134 r1221 1 /* $Id: wprocess.cpp,v 1.3 5 1999-10-04 22:25:01 phallerExp $ */1 /* $Id: wprocess.cpp,v 1.36 1999-10-09 13:33:25 sandervl Exp $ */ 2 2 3 3 /* … … 6 6 * Copyright 1998 Sander van Leeuwen (sandervl@xs4all.nl) 7 7 * 8 * 9 * NOTE: Even though Odin32 OS/2 apps don't switch FS selectors, 10 * we still allocate a TEB to store misc information. 8 11 * 9 12 * Project Odin Software License can be found in LICENSE.TXT … … 42 45 //****************************************************************************** 43 46 BOOL fFreeLibrary = FALSE; 44 47 BOOL fIsOS2Image = FALSE; //TRUE -> Odin32 OS/2 application (not converted!) 48 //FALSE -> otherwise 45 49 //Process database 46 50 PDB ProcessPDB = {0}; … … 179 183 THDB *thdb; 180 184 185 //If we're running an Odin32 OS/2 application (not converted!), then we 186 //we don't switch FS selectors 187 if(fIsOS2Image) { 188 return; 189 } 190 181 191 winteb = (TEB *)*TIBFlatPtr; 182 192 if(winteb) { … … 195 205 TEB *winteb; 196 206 THDB *thdb; 207 208 //If we're running an Odin32 OS/2 application (not converted!), then we 209 //we don't switch FS selectors 210 if(fIsOS2Image) { 211 return; 212 } 197 213 198 214 winteb = (TEB *)*TIBFlatPtr; … … 657 673 658 674 dprintf(("GetVersionStruct")); 659 if(WinExe && !str cmp(WinExe->getFullPath(), modname)) {675 if(WinExe && !stricmp(WinExe->getFullPath(), modname)) { 660 676 winimage = (Win32ImageBase *)WinExe; 661 677 } … … 677 693 dprintf(("GetVersionSize of %s\n", modname)); 678 694 679 if(WinExe && !str cmp(WinExe->getFullPath(), modname)) {695 if(WinExe && !stricmp(WinExe->getFullPath(), modname)) { 680 696 winimage = (Win32ImageBase *)WinExe; 681 697 }
Note:
See TracChangeset
for help on using the changeset viewer.