VirtualBox

Ignore:
Timestamp:
Apr 29, 2010 6:12:35 PM (15 years ago)
Author:
vboxsync
Message:

iprt: More path conversion avoidance.

File:
1 edited

Legend:

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

    r28877 r28915  
    9292{
    9393    bool fRc = false;
    94     char *pszNativePath;
    95     int rc = rtPathToNative(&pszNativePath, pszPath);
     94    char const *pszNativePath;
     95    int rc = rtPathToNative(&pszNativePath, pszPath, NULL);
    9696    if (RT_SUCCESS(rc))
    9797    {
     
    205205    int iErr = errno;
    206206#else
    207     char *pszNativeFilename;
    208     rc = rtPathToNative(&pszNativeFilename, pszFilename);
     207    char const *pszNativeFilename;
     208    rc = rtPathToNative(&pszNativeFilename, pszFilename, NULL);
    209209    if (RT_FAILURE(rc))
    210210        return (rc);
     
    372372RTR3DECL(int)  RTFileDelete(const char *pszFilename)
    373373{
    374     char *pszNativeFilename;
    375     int rc = rtPathToNative(&pszNativeFilename, pszFilename);
     374    char const *pszNativeFilename;
     375    int rc = rtPathToNative(&pszNativeFilename, pszFilename, NULL);
    376376    if (RT_SUCCESS(rc))
    377377    {
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