VirtualBox

Changeset 78114 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 12, 2019 12:47:33 AM (6 years ago)
Author:
vboxsync
Message:

IPRT,*: Cleaning up RTPathAbsExEx, renaming it to RTPathAbsEx and removing dead code. [shared folders fix] bugref:9172

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedFolders/vbsfpathabs.cpp

    r78098 r78114  
    185185    /* Fallback for the common paths. */
    186186
    187     return RTPathAbsEx(pszRoot, pszPath, RTPATH_STR_F_STYLE_HOST, pszAbsPath, &cbAbsPath);
     187    if (*pszPath != '\0')
     188        return RTPathAbsEx(pszRoot, pszPath, RTPATH_STR_F_STYLE_HOST, pszAbsPath, &cbAbsPath);
     189    return RTPathAbsEx(NULL, pszRoot, RTPATH_STR_F_STYLE_HOST, pszAbsPath, &cbAbsPath);
    188190}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette