Changeset 3999 for trunk/src/kernel32/oslibdos.cpp
- Timestamp:
- Aug 12, 2000, 9:32:19 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/oslibdos.cpp
r3993 r3999 1 /* $Id: oslibdos.cpp,v 1.3 7 2000-08-11 10:56:17sandervl Exp $ */1 /* $Id: oslibdos.cpp,v 1.38 2000-08-12 07:32:19 sandervl Exp $ */ 2 2 /* 3 3 * Wrappers for OS/2 Dos* API … … 782 782 openMode |= OPEN_ACCESS_WRITEONLY; 783 783 784 #if 0 785 //SvL: Not true; verified in NT! (also messed up access of files on 786 // readonly volumes) 787 // CreateFile with OPEN_ALWAYS & GENERIC_READ on non-existing file 788 // -> creates 0 size file, WriteFile is not allowed 789 // Same in OS/2. 784 790 /* if creating a file, access cannot be readonly! */ 785 791 if (openFlag & OPEN_ACTION_CREATE_IF_NEW && … … 788 794 openMode |= OPEN_ACCESS_READWRITE; 789 795 } 796 #endif 790 797 791 798 int retry = 0;
Note:
See TracChangeset
for help on using the changeset viewer.