Changeset 42758 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Aug 10, 2012 3:19:09 PM (12 years ago)
- Location:
- trunk/src/VBox/Main/src-client
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestCtrlImpl.cpp
r42716 r42758 2858 2858 mData.mGuestSessions[uNewSessionID] = pGuestSession; 2859 2859 2860 LogFlowFunc(("Added new session with session ID=%RU32 (now %ld sessio s total)\n",2860 LogFlowFunc(("Added new session with session ID=%RU32 (now %ld sessions total)\n", 2861 2861 uNewSessionID, mData.mGuestSessions.size())); 2862 2862 } -
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r42754 r42758 257 257 30 * 1000 /* Timeout */, waitRes); 258 258 if ( RT_FAILURE(rc) 259 || waitRes.mResult == ProcessWaitResult_Terminate 260 || waitRes.mResult == ProcessWaitResult_Error 261 || waitRes.mResult == ProcessWaitResult_Timeout) 259 || waitRes.mResult != ProcessWaitForFlag_StdIn) 262 260 { 263 261 break; … … 319 317 setProgressErrorMsg(VBOX_E_IPRT_ERROR, 320 318 Utf8StrFmt(GuestSession::tr("Writing to file \"%s\" (offset %RU64) failed: %Rrc"), 321 m Source.c_str(), cbWrittenTotal, rc));319 mDest.c_str(), cbWrittenTotal, rc)); 322 320 break; 323 321 } 324 #ifdef DEBUG 322 325 323 LogFlowThisFunc(("cbWritten=%RU32, cbToRead=%RU64, cbWrittenTotal=%RU64, cbFileSize=%RU64\n", 326 324 cbWritten, cbToRead - cbWritten, cbWrittenTotal + cbWritten, mSourceSize)); 327 #endif 325 328 326 /* Only subtract bytes reported written by the guest. */ 329 327 Assert(cbToRead >= cbWritten); … … 488 486 { 489 487 rc = setProgressErrorMsg(VBOX_E_IPRT_ERROR, 490 Utf8StrFmt(GuestSession::tr(" Guest file \"%s\"is not a file"), mSource.c_str()));488 Utf8StrFmt(GuestSession::tr("Object \"%s\" on the guest is not a file"), mSource.c_str())); 491 489 } 492 490 … … 521 519 { 522 520 setProgressErrorMsg(VBOX_E_IPRT_ERROR, 523 Utf8StrFmt(GuestSession::tr("Unable to start guest process : %Rrc"), rc));521 Utf8StrFmt(GuestSession::tr("Unable to start guest process for copying data from guest to host: %Rrc"), rc)); 524 522 } 525 523 else … … 537 535 30 * 1000 /* Timeout */, waitRes); 538 536 if ( RT_FAILURE(rc) 539 || waitRes.mResult != ProcessWaitResult_StdOut) 537 && ( waitRes.mResult != ProcessWaitResult_StdOut 538 || waitRes.mResult != ProcessWaitResult_Any) 539 ) 540 540 { 541 541 break;
Note:
See TracChangeset
for help on using the changeset viewer.