- Timestamp:
- Jan 27, 2000, 10:51:17 PM (26 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/KERNEL32.DEF
r2430 r2535 1 ; $Id: KERNEL32.DEF,v 1.6 5 2000-01-13 20:09:09sandervl Exp $1 ; $Id: KERNEL32.DEF,v 1.66 2000-01-27 21:51:16 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 1072 1072 1073 1073 IsExeStarted__Fv @2001 1074 1075 GetDisplayCodepage__Fv @3000 1076 GetWindowsCodepage__Fv @3001 1074 CheckCurFS @2002 1075 1076 GetDisplayCodepage__Fv @3000 1077 GetWindowsCodepage__Fv @3001 1078 -
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 -
trunk/src/kernel32/oslibdos.cpp
r2493 r2535 1 /* $Id: oslibdos.cpp,v 1.1 6 2000-01-21 22:38:53sandervl Exp $ */1 /* $Id: oslibdos.cpp,v 1.17 2000-01-27 21:51:17 sandervl Exp $ */ 2 2 /* 3 3 * Wrappers for OS/2 Dos* API … … 377 377 case OSLIB_SEARCHENV: 378 378 { 379 char *env = getenv(path); 380 if(env == NULL) 381 return 0; 382 383 while(*env != '=') env++; 384 env++; 385 while(*env == ' ') env++; 386 if(DosSearchPath(SEARCH_IGNORENETERRS | SEARCH_ENVIRONMENT, env, 379 if(DosSearchPath(SEARCH_IGNORENETERRS | SEARCH_ENVIRONMENT, path, 387 380 name, full_name, length_fullname) != 0) { 388 381 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.