VirtualBox

Changeset 96609 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Sep 6, 2022 2:13:23 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
153486
Message:

IPRT/path: Added fFlags parameter to RTPathAppendEx and RTPathJoinEx to make it possible to select the path style. bugref:10286

Location:
trunk/src/VBox/Runtime/r3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/process-creation-posix.cpp

    r96407 r96609  
    16441644    const char      *pszExec = (const char *)pvUser1;
    16451645    PRTPATHINTSEARCH pResult = (PRTPATHINTSEARCH)pvUser2;
    1646     int rc = RTPathJoinEx(pResult->szFound, sizeof(pResult->szFound), pchPath, cchPath, pszExec, RTSTR_MAX);
     1646    int rc = RTPathJoinEx(pResult->szFound, sizeof(pResult->szFound), pchPath, cchPath, pszExec, RTSTR_MAX,
     1647                          RTPATH_STR_F_STYLE_HOST);
    16471648    if (RT_SUCCESS(rc))
    16481649    {
  • trunk/src/VBox/Runtime/r3/win/process-win.cpp

    r96475 r96609  
    21222122    const char *pszExec     = (const char *)pvUser1;
    21232123    char       *pszRealExec = (char *)pvUser2;
    2124     int rc = RTPathJoinEx(pszRealExec, RTPATH_MAX, pchPath, cchPath, pszExec, RTSTR_MAX);
     2124    int rc = RTPathJoinEx(pszRealExec, RTPATH_MAX, pchPath, cchPath, pszExec, RTSTR_MAX, RTPATH_STR_F_STYLE_HOST);
    21252125    if (RT_FAILURE(rc))
    21262126        return rc;
Note: See TracChangeset for help on using the changeset viewer.

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