VirtualBox

Changeset 44623 in vbox for trunk/src


Ignore:
Timestamp:
Feb 11, 2013 10:14:24 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
83710
Message:

Runtime: RTPathCreateRelative -> RTPathCalcRelative

Location:
trunk/src/VBox/Runtime
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/path/RTPathCalcRelative.cpp

    r44617 r44623  
    3838
    3939
    40 RTDECL(int) RTPathCreateRelative(char *pszPathDst, size_t cbPathDst,
    41                                  const char *pszPathFrom,
    42                                  const char *pszPathTo)
     40RTDECL(int) RTPathCalcRelative(char *pszPathDst, size_t cbPathDst,
     41                               const char *pszPathFrom,
     42                               const char *pszPathTo)
    4343{
    4444    int rc = VINF_SUCCESS;
  • trunk/src/VBox/Runtime/testcase/tstRTPath.cpp

    r44615 r44623  
    555555
    556556    /*
    557      * RTPathCreateRelative
    558      */
    559     RTTestSub(hTest, "RTPathCreateRelative");
     557     * RTPathCalcRelative
     558     */
     559    RTTestSub(hTest, "RTPathCalcRelative");
    560560    struct
    561561    {
     
    580580        const char *pszTo   = s_aRelPath[i].pszTo;
    581581
    582         rc = RTPathCreateRelative(szPath, sizeof(szPath), pszFrom, pszTo);
     582        rc = RTPathCalcRelative(szPath, sizeof(szPath), pszFrom, pszTo);
    583583        if (rc != s_aRelPath[i].rc)
    584584            RTTestIFailed("Unexpected return code\n"
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