Changeset 97426 in vbox for trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
- Timestamp:
- Nov 7, 2022 7:44:16 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 154431
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
r97425 r97426 1726 1726 1727 1727 /* Clean up the final guest source path (for cleaning up mixed path separators). */ 1728 vrc = GuestPath::Translate(strSrcAbs, pList->mSourceSpec.enmPathStyle /* Source */, pList->mSourceSpec.enmPathStyle /* Dest */,1729 true /* fForce*/);1728 vrc = GuestPath::Translate(strSrcAbs, pList->mSourceSpec.enmPathStyle /* Source */, 1729 pList->mSourceSpec.enmPathStyle /* Dest */); 1730 1730 if (RT_FAILURE(vrc)) 1731 1731 { … … 1737 1737 1738 1738 /* Translate the final host destination path. */ 1739 vrc = GuestPath::Translate(strDstAbs, PATH_STYLE_NATIVE /* Source */, PATH_STYLE_NATIVE /* Dest */ , true /* fForce */);1739 vrc = GuestPath::Translate(strDstAbs, PATH_STYLE_NATIVE /* Source */, PATH_STYLE_NATIVE /* Dest */); 1740 1740 if (RT_FAILURE(vrc)) 1741 1741 { … … 2045 2045 /* Translate the destination path to a path compatible with the guest. 2046 2046 * Note: This needs to be done *before* GuestPath::BuildDestinationPath() below! */ 2047 vrc = GuestPath::Translate(strDstRootAbs, 2048 mSession->i_getGuestPathStyle() /* Source */, mSession->i_getGuestPathStyle() /* Dest */, 2049 true /* fForce */); 2047 vrc = GuestPath::Translate(strDstRootAbs, mSession->i_getGuestPathStyle() /* Source */, 2048 mSession->i_getGuestPathStyle() /* Dest */); 2050 2049 2051 2050 GuestPath::BuildDestinationPath(strSrcRootAbs, PATH_STYLE_NATIVE, … … 2161 2160 /* Clean up the final guest destination root path (for cleaning up mixed path separators). */ 2162 2161 vrc = GuestPath::Translate(strDstRootAbs, 2163 mSession->i_getGuestPathStyle() /* Source */, mSession->i_getGuestPathStyle() /* Dest */, 2164 true /* fForce */); 2162 mSession->i_getGuestPathStyle() /* Source */, mSession->i_getGuestPathStyle() /* Dest */); 2165 2163 if (RT_FAILURE(vrc)) 2166 2164 { … … 2198 2196 2199 2197 /* Clean up the final host source path (for cleaning up mixed path separators). */ 2200 vrc = GuestPath::Translate(strSrcAbs, 2201 PATH_STYLE_NATIVE /* Source */, PATH_STYLE_NATIVE /* Dest */, 2202 true /* fForce */); 2198 vrc = GuestPath::Translate(strSrcAbs, PATH_STYLE_NATIVE /* Source */, PATH_STYLE_NATIVE /* Dest */); 2203 2199 if (RT_FAILURE(vrc)) 2204 2200 { … … 2211 2207 /* Translate the final guest destination path. */ 2212 2208 vrc = GuestPath::Translate(strDstAbs, 2213 mSession->i_getGuestPathStyle() /* Source */, mSession->i_getGuestPathStyle() /* Dest */, 2214 true /* fForce */); 2209 mSession->i_getGuestPathStyle() /* Source */, mSession->i_getGuestPathStyle() /* Dest */); 2215 2210 if (RT_FAILURE(vrc)) 2216 2211 { … … 2302 2297 2303 2298 /* Cleanup the destination path. */ 2304 vrc = GuestPath::Translate(strDstRootAbs, mSession->i_getGuestPathStyle() /* Source */,2305 mSession->i_getGuestPathStyle() /* Dest */, true /* fForce*/);2299 vrc = GuestPath::Translate(strDstRootAbs, 2300 mSession->i_getGuestPathStyle() /* Source */, mSession->i_getGuestPathStyle() /* Dest */); 2306 2301 if (RT_FAILURE(vrc)) 2307 2302 {
Note:
See TracChangeset
for help on using the changeset viewer.