- Timestamp:
- Feb 11, 2013 10:14:24 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 83710
- Location:
- trunk
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/path.h
r44615 r44623 595 595 596 596 /** 597 * C reate a relative path between the two given paths.597 * Calculate a relative path between the two given paths. 598 598 * 599 599 * @returns IPRT status code. … … 608 608 * @param pszPathTo The path to reach with the created relative path. 609 609 */ 610 RTDECL(int) RTPathC reateRelative(char *pszPathDst, size_t cbPathDst,611 612 610 RTDECL(int) RTPathCalcRelative(char *pszPathDst, size_t cbPathDst, 611 const char *pszPathFrom, 612 const char *pszPathTo); 613 613 614 614 #ifdef IN_RING3 -
trunk/src/VBox/Runtime/common/path/RTPathCalcRelative.cpp
r44617 r44623 38 38 39 39 40 RTDECL(int) RTPathC reateRelative(char *pszPathDst, size_t cbPathDst,41 42 40 RTDECL(int) RTPathCalcRelative(char *pszPathDst, size_t cbPathDst, 41 const char *pszPathFrom, 42 const char *pszPathTo) 43 43 { 44 44 int rc = VINF_SUCCESS; -
trunk/src/VBox/Runtime/testcase/tstRTPath.cpp
r44615 r44623 555 555 556 556 /* 557 * RTPathC reateRelative558 */ 559 RTTestSub(hTest, "RTPathC reateRelative");557 * RTPathCalcRelative 558 */ 559 RTTestSub(hTest, "RTPathCalcRelative"); 560 560 struct 561 561 { … … 580 580 const char *pszTo = s_aRelPath[i].pszTo; 581 581 582 rc = RTPathC reateRelative(szPath, sizeof(szPath), pszFrom, pszTo);582 rc = RTPathCalcRelative(szPath, sizeof(szPath), pszFrom, pszTo); 583 583 if (rc != s_aRelPath[i].rc) 584 584 RTTestIFailed("Unexpected return code\n"
Note:
See TracChangeset
for help on using the changeset viewer.