Changeset 97399 in vbox for trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
- Timestamp:
- Nov 4, 2022 1:35:06 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 154399
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
r97395 r97399 1702 1702 { 1703 1703 setProgressErrorMsg(VBOX_E_IPRT_ERROR, 1704 Utf8StrFmt(tr("Translating host destination root path '%s'failed: %Rrc"),1704 Utf8StrFmt(tr("Translating host destination root path \"%s\" failed: %Rrc"), 1705 1705 strDstRootAbs.c_str(), vrc)); 1706 1706 break; … … 1739 1739 { 1740 1740 setProgressErrorMsg(VBOX_E_IPRT_ERROR, 1741 Utf8StrFmt(tr("Translating guest source path '%s' from %s to %s failed: %Rrc"), 1742 strSrcAbs.c_str(), 1743 GuestBase::pathStyleToStr(pList->mSourceSpec.enmPathStyle), 1744 GuestBase::pathStyleToStr(pList->mSourceSpec.enmPathStyle), vrc)); 1741 Utf8StrFmt(tr("Translating guest source path \"%s\" failed: %Rrc"), 1742 strSrcAbs.c_str(), vrc)); 1745 1743 break; 1746 1744 } 1747 1745 1748 1746 /* Translate the final host destination path. */ 1749 vrc = GuestPath::Translate(strDstAbs, pList->mSourceSpec.enmPathStyle, PATH_STYLE_NATIVE /* Source*/, true /* fForce */);1747 vrc = GuestPath::Translate(strDstAbs, PATH_STYLE_NATIVE /* Source */, PATH_STYLE_NATIVE /* Dest */, true /* fForce */); 1750 1748 if (RT_FAILURE(vrc)) 1751 1749 { 1752 1750 setProgressErrorMsg(VBOX_E_IPRT_ERROR, 1753 Utf8StrFmt(tr("Translating host destination path '%s' from %s to %s failed: %Rrc"), 1754 strDstAbs.c_str(), 1755 GuestBase::pathStyleToStr(pList->mSourceSpec.enmPathStyle), 1756 GuestBase::pathStyleToStr(PATH_STYLE_NATIVE), vrc)); 1751 Utf8StrFmt(tr("Translating host destination path \"%s\" failed: %Rrc"), 1752 strDstAbs.c_str(), vrc)); 1757 1753 break; 1758 1754 } … … 2066 2062 { 2067 2063 setProgressErrorMsg(VBOX_E_IPRT_ERROR, 2068 Utf8StrFmt(tr("Translating guest destination path '%s' from %s to %s failed: %Rrc"), 2069 strDstRootAbs.c_str(), 2070 GuestBase::pathStyleToStr(PATH_STYLE_NATIVE), 2071 GuestBase::pathStyleToStr(mSession->i_getGuestPathStyle()), vrc)); 2064 Utf8StrFmt(tr("Translating guest destination path \"%s\" failed: %Rrc"), 2065 strDstRootAbs.c_str(), vrc)); 2072 2066 break; 2073 2067 } … … 2178 2172 { 2179 2173 setProgressErrorMsg(VBOX_E_IPRT_ERROR, 2180 Utf8StrFmt(tr("Translating guest destination root path '%s'failed: %Rrc"),2174 Utf8StrFmt(tr("Translating guest destination root path \"%s\" failed: %Rrc"), 2181 2175 strDstRootAbs.c_str(), vrc)); 2182 2176 break; … … 2216 2210 { 2217 2211 setProgressErrorMsg(VBOX_E_IPRT_ERROR, 2218 Utf8StrFmt(tr("Translating host source path '%s' from %s to %s failed: %Rrc"), 2219 strSrcAbs.c_str(), 2220 GuestBase::pathStyleToStr(PATH_STYLE_NATIVE), 2221 GuestBase::pathStyleToStr(PATH_STYLE_NATIVE), vrc)); 2212 Utf8StrFmt(tr("Translating host source path\"%s\" failed: %Rrc"), 2213 strSrcAbs.c_str(), vrc)); 2222 2214 break; 2223 2215 } … … 2230 2222 { 2231 2223 setProgressErrorMsg(VBOX_E_IPRT_ERROR, 2232 Utf8StrFmt(tr("Translating guest destination path '%s' from %s to %s failed: %Rrc"), 2233 strDstAbs.c_str(), 2234 GuestBase::pathStyleToStr(PATH_STYLE_NATIVE), 2235 GuestBase::pathStyleToStr(mSession->i_getGuestPathStyle()), vrc)); 2224 Utf8StrFmt(tr("Translating guest destination path \"%s\" failed: %Rrc"), 2225 strDstAbs.c_str(), vrc)); 2236 2226 break; 2237 2227 } … … 2323 2313 { 2324 2314 setProgressErrorMsg(VBOX_E_IPRT_ERROR, 2325 Utf8StrFmt(tr("Translating guest destination path '%s' from %s to %sfailed: %Rrc"),2315 Utf8StrFmt(tr("Translating guest destination path \"%s\" failed: %Rrc"), 2326 2316 strDstRootAbs.c_str(), vrc)); 2327 2317 break;
Note:
See TracChangeset
for help on using the changeset viewer.