Changeset 1675 in vbox
- Timestamp:
- Mar 23, 2007 1:19:49 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 19811
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Serial/DrvNamedPipe.cpp
r1674 r1675 148 148 if (VBOX_FAILURE(rc)) 149 149 { 150 Log(("drvNamedPipeRead: RTFileRead returned Vrc\n", rc));150 Log(("drvNamedPipeRead: RTFileRead returned %Vrc\n", rc)); 151 151 if ( rc == VERR_EOF 152 152 || rc == VERR_BROKEN_PIPE) … … 154 154 RTFILE tmp = pData->NamedPipe; 155 155 FlushFileBuffers((HANDLE)tmp); 156 DisconnectNamedPipe((HANDLE)tmp); 156 157 if (!pData->fIsServer) 157 158 { 158 159 pData->NamedPipe = NIL_RTFILE; 159 DisconnectNamedPipe((HANDLE)tmp);160 160 RTFileClose(tmp); 161 161 } … … 242 242 RTFILE tmp = pData->NamedPipe; 243 243 FlushFileBuffers((HANDLE)tmp); 244 DisconnectNamedPipe((HANDLE)tmp); 244 245 if (!pData->fIsServer) 245 246 { 246 247 pData->NamedPipe = NIL_RTFILE; 247 DisconnectNamedPipe((HANDLE)tmp);248 248 RTFileClose(tmp); 249 249 }
Note:
See TracChangeset
for help on using the changeset viewer.