Changeset 38133 in vbox for trunk/src/VBox/Main/src-client/GuestCtrlImpl.cpp
- Timestamp:
- Jul 25, 2011 9:02:17 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestCtrlImpl.cpp
r38085 r38133 3387 3387 */ 3388 3388 3389 /* We need to get output which is machine-readable in form 3390 * of "key=value\0..key=value\0\0". */ 3391 args.push_back(Bstr("--machinereadable").raw()); 3392 3389 3393 /* Only the actual file name to chekc is needed for now. */ 3390 3394 args.push_back(Bstr(Utf8File).raw()); … … 3548 3552 { 3549 3553 rc = this->GetProcessOutput(uPID, ProcessOutputFlag_None, 3550 30 * 1000 /* Timeout in ms */,3554 10 * 1000 /* Timeout in ms */, 3551 3555 _64K, ComSafeArrayAsOutParam(aOutputData)); 3552 3556 /** @todo Do stream header validation! */ … … 3557 3561 if (RT_UNLIKELY(RT_FAILURE(vrc))) 3558 3562 rc = setError(VBOX_E_IPRT_ERROR, 3559 tr("Error while adding guest output to stream buffer (%Rrc)"), vrc); 3563 tr("Query file size: Error while adding guest output to stream buffer for file \"%s\" (%Rrc)"), 3564 Utf8File.c_str(), vrc); 3560 3565 } 3561 else 3566 else /* No more output! */ 3562 3567 break; 3563 3568 } … … 3575 3580 else 3576 3581 rc = setError(VBOX_E_IPRT_ERROR, 3577 tr("Unable to retrieve file size (%Rrc)"), vrc); 3582 tr("Query file size: Unable to retrieve file size for file \"%s\" (%Rrc)"), 3583 Utf8File.c_str(), vrc); 3578 3584 } 3579 3585 else 3580 3586 rc = setError(VBOX_E_IPRT_ERROR, 3581 tr("Error while parsing guest output (%Rrc)"), vrc); 3587 tr("Query file size: Error while parsing guest output for file \"%s\" (%Rrc)"), 3588 Utf8File.c_str(), vrc); 3582 3589 } 3583 3590 } 3584 3591 else 3585 3592 rc = setError(VBOX_E_IPRT_ERROR, 3586 tr(" Error querying file size for file \"%s\" (exit code %u)"),3593 tr("Query file size: Error querying file size for file \"%s\" (exit code %u)"), 3587 3594 Utf8File.c_str(), uRetExitCode); 3588 3595 } … … 3591 3598 else if (fCanceled) 3592 3599 rc = setError(VBOX_E_IPRT_ERROR, 3593 tr(" Checking for file existence was aborted"));3600 tr("Query file size: Checking for file size was aborted")); 3594 3601 else 3595 AssertReleaseMsgFailed(("Checking for file existence neither completed nor canceled!?\n"));3602 AssertReleaseMsgFailed(("Checking for file size neither completed nor canceled!?\n")); 3596 3603 } 3597 3604 }
Note:
See TracChangeset
for help on using the changeset viewer.