Changeset 19134
- Timestamp:
- Jun 6, 2002, 5:10:06 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tags/trunk/src/kernel32/oslibdos.cpp ¶
r18954 r19134 1 /* $Id: oslibdos.cpp,v 1.10 2 2002-05-10 14:55:12sandervl Exp $ */1 /* $Id: oslibdos.cpp,v 1.103 2002-06-06 15:10:06 sandervl Exp $ */ 2 2 /* 3 3 * Wrappers for OS/2 Dos* API … … 1108 1108 openMode |= OPEN_ACCESS_READONLY; 1109 1109 else 1110 //mgp: There seems to be a problem where OPEN_ACCESS_WRITEONLY gives an 1111 // Access Error (0x05) if the file is opened with 1112 // OPEN_ACTION_OPEN_IF_EXISTS. So, in that case, change it to 1113 // OPEN_ACCESS_READWRITE 1110 1114 if(fuAccess & GENERIC_WRITE_W) 1111 openMode |= OPEN_ACCESS_WRITEONLY; 1115 if (openFlag & OPEN_ACTION_OPEN_IF_EXISTS) 1116 openMode |= OPEN_ACCESS_READWRITE; 1117 else 1118 openMode |= OPEN_ACCESS_WRITEONLY; 1112 1119 1113 1120 #if 0
Note:
See TracChangeset
for help on using the changeset viewer.