VirtualBox

Changeset 69679 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Nov 13, 2017 3:53:01 PM (7 years ago)
Author:
vboxsync
Message:

iprt: A bunch of basic function for working the file system relative to an open directory. There is only a default implementation currently, the path race conditions will first be eliminated/reduced with platform specific implementations (POSIX, NT). Also added a VFS wrapper around RTDIR handles, completing RTVfsChainOpenDir and making RTLs work on normal directories too (instead of only isofs and fat). [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/vfs/vfsstddir.cpp

    r69674 r69679  
    569569
    570570
    571 RTDECL(int) RTVfsDirOpenNormal(const char *pszFilename, uint32_t fFlags, PRTVFSDIR phVfsDir)
     571RTDECL(int) RTVfsDirOpenNormal(const char *pszPath, uint32_t fFlags, PRTVFSDIR phVfsDir)
    572572{
    573573    /*
     
    575575     */
    576576    PRTDIR hDir;
    577     int rc = RTDirOpenFiltered(&hDir, pszFilename, RTDIRFILTER_NONE, fFlags);
     577    int rc = RTDirOpenFiltered(&hDir, pszPath, RTDIRFILTER_NONE, fFlags);
    578578    if (RT_SUCCESS(rc))
    579579    {
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