Changeset 1491 in vbox for trunk/src/VBox/Main
- Timestamp:
- Mar 14, 2007 7:50:46 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r1397 r1491 197 197 int vrc = RTFileOpen (&handle, vboxConfigFile, 198 198 RTFILE_O_READWRITE | RTFILE_O_CREATE | 199 RTFILE_O_DENY_WRITE );199 RTFILE_O_DENY_WRITE | RTFILE_O_WRITE_THROUGH); 200 200 if (VBOX_SUCCESS (vrc)) 201 201 vrc = RTFileWrite (handle, … … 4204 4204 Utf8Str (mData.mCfgFile.mName), 4205 4205 RTFILE_O_READWRITE | RTFILE_O_OPEN | 4206 RTFILE_O_DENY_WRITE );4206 RTFILE_O_DENY_WRITE | RTFILE_O_WRITE_THROUGH); 4207 4207 if (VBOX_FAILURE (vrc)) 4208 4208 { … … 4242 4242 if (isConfigLocked()) 4243 4243 { 4244 RTFileFlush (mData.mCfgFile.mHandle); 4244 4245 RTFileClose (mData.mCfgFile.mHandle); 4246 /** @todo flush the directory too. */ 4245 4247 mData.mCfgFile.mHandle = NIL_RTFILE; 4246 4248 LogFlowThisFunc (("\n"));
Note:
See TracChangeset
for help on using the changeset viewer.