VirtualBox

Changeset 78098 in vbox for trunk/include


Ignore:
Timestamp:
Apr 10, 2019 3:51:59 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
129954
Message:

IPRT,*: Cleaning up RTPathAbsExEx, renaming it to RTPathAbsEx and removing dead code. bugref:9172

Location:
trunk/include/iprt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/include/iprt/mangling.h

    r78066 r78098  
    16001600# define RTPathAbsDup                                   RT_MANGLER(RTPathAbsDup)
    16011601# define RTPathAbsEx                                    RT_MANGLER(RTPathAbsEx)
    1602 # define RTPathAbsExEx                                  RT_MANGLER(RTPathAbsExEx)
    16031602# define RTPathAbsExDup                                 RT_MANGLER(RTPathAbsExDup)
    16041603# define RTPathAppDocs                                  RT_MANGLER(RTPathAppDocs)
  • TabularUnified trunk/include/iprt/path.h

    r78051 r78098  
    332332/**
    333333 * Get the absolute path (no symlinks, no . or .. components), assuming the
    334  * given base path as the current directory. The resulting path doesn't have
    335  * to exist.
    336  *
    337  * @returns iprt status code.
    338  * @param   pszBase         The base path to act like a current directory.
    339  *                          When NULL, the actual cwd is used (i.e. the call
    340  *                          is equivalent to RTPathAbs(pszPath, ...).
    341  * @param   pszPath         The path to resolve.
    342  * @param   pszAbsPath      Where to store the absolute path.
    343  * @param   cbAbsPath       Size of the buffer.
    344  *
    345  * @note    Current implementation is buggy and will remove trailing slashes
    346  *          that would normally specify a directory.  Don't depend on this.
    347  */
    348 RTDECL(int) RTPathAbsEx(const char *pszBase, const char *pszPath, char *pszAbsPath, size_t cbAbsPath);
    349 
    350 /**
    351  * Get the absolute path (no symlinks, no . or .. components), assuming the
    352334 * given base path as the current directory.
    353335 *
     
    369351 *                          failures.
    370352 */
    371 RTDECL(int) RTPathAbsExEx(const char *pszBase, const char *pszPath, uint32_t fFlags, char *pszAbsPath, size_t *pcbAbsPath);
     353RTDECL(int) RTPathAbsEx(const char *pszBase, const char *pszPath, uint32_t fFlags, char *pszAbsPath, size_t *pcbAbsPath);
    372354
    373355/** @name RTPATHABS_F_XXX - Flags for RTPathAbsEx.
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