Changeset 97137 in vbox for trunk/src/VBox/Main
- Timestamp:
- Oct 13, 2022 2:59:51 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
r96617 r97137 68 68 #define ISOFILE_FLAG_COPY_FROM_ISO RT_BIT(0) 69 69 /** Execute file on the guest after it has 70 * been successfully transfer ed. */70 * been successfully transferred. */ 71 71 #define ISOFILE_FLAG_EXECUTE RT_BIT(7) 72 72 /** File is optional, does not have to be … … 129 129 } 130 130 131 #if 0 /* un sed */131 #if 0 /* unused */ 132 132 /** @note The task object is owned by the thread after this returns, regardless of the result. */ 133 133 int GuestSessionTask::RunAsync(const Utf8Str &strDesc, ComObjPtr<Progress> &pProgress) … … 231 231 * Sets the task's progress object to an error using a string message. 232 232 * 233 * @returns Returns \a hr for co venience.233 * @returns Returns \a hr for convenience. 234 234 * @param hr Progress operation result to set. 235 235 * @param strMsg Message to set. … … 265 265 * Sets the task's progress object to an error using a string message and a guest error info object. 266 266 * 267 * @returns Returns \a hr for co venience.267 * @returns Returns \a hr for convenience. 268 268 * @param hr Progress operation result to set. 269 269 * @param strMsg Message to set. … … 467 467 468 468 /* 469 * Even if we succeeded until here make sure to check whether we really transfer ed469 * Even if we succeeded until here make sure to check whether we really transferred 470 470 * everything. 471 471 */ … … 473 473 && cbWrittenTotal == 0) 474 474 { 475 /* If nothing was transfer ed but the file size was > 0 then "vbox_cat" wasn't able to write475 /* If nothing was transferred but the file size was > 0 then "vbox_cat" wasn't able to write 476 476 * to the destination -> access denied. */ 477 477 setProgressErrorMsg(VBOX_E_IPRT_ERROR, … … 484 484 /* If we did not copy all let the user know. */ 485 485 setProgressErrorMsg(VBOX_E_IPRT_ERROR, 486 Utf8StrFmt(tr("Copying guest file \"%s\" to host file \"%s\" failed (%RU64/%RU64 bytes transfer ed)"),486 Utf8StrFmt(tr("Copying guest file \"%s\" to host file \"%s\" failed (%RU64/%RU64 bytes transferred)"), 487 487 strSrcFile.c_str(), strDstFile.c_str(), cbWrittenTotal, cbSize)); 488 488 vrc = VERR_INTERRUPTED; … … 783 783 784 784 /* 785 * Even if we succeeded until here make sure to check whether we really transfer ed785 * Even if we succeeded until here make sure to check whether we really transferred 786 786 * everything. 787 787 */ … … 789 789 && cbWrittenTotal == 0) 790 790 { 791 /* If nothing was transfer ed but the file size was > 0 then "vbox_cat" wasn't able to write791 /* If nothing was transferred but the file size was > 0 then "vbox_cat" wasn't able to write 792 792 * to the destination -> access denied. */ 793 793 setProgressErrorMsg(VBOX_E_IPRT_ERROR, … … 800 800 /* If we did not copy all let the user know. */ 801 801 setProgressErrorMsg(VBOX_E_IPRT_ERROR, 802 Utf8StrFmt(tr("Copying to guest file \"%s\" failed (%RU64/%RU64 bytes transfer ed)"),802 Utf8StrFmt(tr("Copying to guest file \"%s\" failed (%RU64/%RU64 bytes transferred)"), 803 803 strDstFile.c_str(), cbWrittenTotal, cbSize)); 804 804 vrc = VERR_INTERRUPTED; … … 2813 2813 return vrc; 2814 2814 } 2815
Note:
See TracChangeset
for help on using the changeset viewer.