Changeset 23973 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Oct 22, 2009 12:34:22 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp
r23223 r23973 824 824 825 825 RTFILE RawFile; 826 int vrc = RTFileOpen(&RawFile, rawdisk.raw(), RTFILE_O_ OPEN | RTFILE_O_READ| RTFILE_O_DENY_WRITE);826 int vrc = RTFileOpen(&RawFile, rawdisk.raw(), RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_WRITE); 827 827 if (RT_FAILURE(vrc)) 828 828 { … … 944 944 #endif /* RT_OS_DARWIN */ 945 945 RTFILE RawFile; 946 int vrc = RTFileOpen(&RawFile, rawdisk.raw(), RTFILE_O_ OPEN | RTFILE_O_READ| RTFILE_O_DENY_WRITE);946 int vrc = RTFileOpen(&RawFile, rawdisk.raw(), RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_WRITE); 947 947 if (RT_FAILURE(vrc)) 948 948 { … … 1271 1271 { 1272 1272 RTFILE MBRFile; 1273 vrc = RTFileOpen(&MBRFile, pszMBRFilename, RTFILE_O_ OPEN | RTFILE_O_READ| RTFILE_O_DENY_WRITE);1273 vrc = RTFileOpen(&MBRFile, pszMBRFilename, RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_WRITE); 1274 1274 if (RT_FAILURE(vrc)) 1275 1275 { … … 1508 1508 outFile = 1; 1509 1509 else 1510 vrc = RTFileOpen(&outFile, Utf8Str(dst).raw(), RTFILE_O_ OPEN | RTFILE_O_CREATE | RTFILE_O_WRITE | RTFILE_O_DENY_ALL);1510 vrc = RTFileOpen(&outFile, Utf8Str(dst).raw(), RTFILE_O_WRITE | RTFILE_O_CREATE | RTFILE_O_DENY_ALL); 1511 1511 if (RT_FAILURE(vrc)) 1512 1512 { -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp
r23223 r23973 825 825 File = 0; 826 826 else 827 rc = RTFileOpen(&File, srcfilename, RTFILE_O_ OPEN | RTFILE_O_READ| RTFILE_O_DENY_WRITE);827 rc = RTFileOpen(&File, srcfilename, RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_WRITE); 828 828 if (RT_FAILURE(rc)) 829 829 {
Note:
See TracChangeset
for help on using the changeset viewer.