Changeset 77860 in vbox for trunk/src/VBox
- Timestamp:
- Mar 24, 2019 2:38:22 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp
r77848 r77860 1703 1703 { 1704 1704 /* Convert the slashes in the link target to the guest path separator characters. */ 1705 /** @todo r=bird: for some messed up reason, we return UTF-8 here rather than 1706 * the character set selected by the client. We also don't return the 1707 * length, so the clients are paranoid about the zero termination behavior. */ 1708 char ch; 1705 1709 char *psz = (char *)pBuffer; 1706 while ( *psz!= '\0')1707 { 1708 if ( *psz == RTPATH_DELIMITER)1710 while ((ch = *psz) != '\0') 1711 { 1712 if (RTPATH_IS_SLASH(ch)) 1709 1713 *psz = pClient->PathDelimiter; 1710 1714 psz++; … … 2384 2388 { 2385 2389 RTFSOBJINFO info; 2386 rc = RTPathQueryInfoEx(pszFullNewPath, &info, RTFSOBJATTRADD_NOTHING, SHFL_RT_LINK(pClient));2390 rc = RTPathQueryInfoEx(pszFullNewPath, &info, RTFSOBJATTRADD_NOTHING, RTPATH_F_ON_LINK); 2387 2391 if (RT_SUCCESS(rc)) 2388 2392 vbfsCopyFsObjInfoFromIprt(pInfo, &info);
Note:
See TracChangeset
for help on using the changeset viewer.