Changeset 23973 in vbox for trunk/src/VBox/Devices/Serial/DrvRawFile.cpp
- Timestamp:
- Oct 22, 2009 12:34:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Serial/DrvRawFile.cpp
r22653 r23973 150 150 * Open the raw file. 151 151 */ 152 rc = RTFileOpen(&pThis->OutputFile, pThis->pszLocation, RTFILE_O_ CREATE_REPLACE | RTFILE_O_WRITE | RTFILE_O_DENY_NONE);152 rc = RTFileOpen(&pThis->OutputFile, pThis->pszLocation, RTFILE_O_WRITE | RTFILE_O_CREATE_REPLACE | RTFILE_O_DENY_NONE); 153 153 if (RT_FAILURE(rc)) 154 154 { … … 180 180 181 181 if (pThis->OutputFile != NIL_RTFILE) 182 { 182 { 183 183 RTFileClose(pThis->OutputFile); 184 184 pThis->OutputFile = NIL_RTFILE; … … 200 200 201 201 if (pThis->OutputFile != NIL_RTFILE) 202 { 202 { 203 203 RTFileClose(pThis->OutputFile); 204 204 pThis->OutputFile = NIL_RTFILE;
Note:
See TracChangeset
for help on using the changeset viewer.