VirtualBox

Changeset 45630 in vbox


Ignore:
Timestamp:
Apr 19, 2013 8:22:59 AM (12 years ago)
Author:
vboxsync
Message:

rtDirOpenCommon: We don't need to resolve symbolic links in the path, just making it absolute. Speeds things up on windows (ntBldSymDb 1.9x times faster).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/dir.cpp

    r44528 r45630  
    534534    {
    535535        cbFilter = cucFilter0 = 0;
    536         rc = RTPathReal(pszPath, szRealPath, sizeof(szRealPath) - 1);
     536        rc = RTPathAbs(pszPath, szRealPath, sizeof(szRealPath) - 1);
    537537    }
    538538    else
     
    548548                return VERR_NO_MEMORY;
    549549            pszTmp[pszFilter - pszPath] = '\0';
    550             rc = RTPathReal(pszTmp, szRealPath, sizeof(szRealPath) - 1);
     550            rc = RTPathAbs(pszTmp, szRealPath, sizeof(szRealPath) - 1);
    551551            RTStrFree(pszTmp);
    552552        }
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