Changeset 39461 in vbox for trunk/src/VBox
- Timestamp:
- Nov 29, 2011 5:33:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlThread.cpp
r39437 r39461 461 461 rcReq = VINF_EOF; 462 462 463 /* If this is the last write we need to close the stdin pipe on our 464 * end and remove it from the poll set. */ 465 if (VBOXSERVICECTRLREQUEST_STDIN_WRITE_EOF == pRequest->enmType) 466 rc = VBoxServiceControlThreadCloseStdIn(hPollSet, phStdInW); 463 /* 464 * If this is the last write + we have really have written all data 465 * we need to close the stdin pipe on our end and remove it from 466 * the poll set. 467 */ 468 if ( pRequest->enmType == VBOXSERVICECTRLREQUEST_STDIN_WRITE_EOF) 469 && pRequest->cbData == cbWritten) 470 { 471 rc = VBoxServiceControlThreadCloseStdIn(hPollSet, phStdInW); 472 } 467 473 468 474 /* Reqport back actual data written (if any). */
Note:
See TracChangeset
for help on using the changeset viewer.