VirtualBox

Changeset 69674 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Nov 13, 2017 3:29:43 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).

Location:
trunk/src/VBox/Runtime/testcase
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstDir-2.cpp

    r69111 r69674  
    4242        /* open */
    4343        PRTDIR pDir;
    44         int rc = RTDirOpenFiltered(&pDir, argv[i], RTDIRFILTER_WINNT, 0);
     44        int rc = RTDirOpenFiltered(&pDir, argv[i], RTDIRFILTER_WINNT, 0 /*fFlags*/);
    4545        if (RT_SUCCESS(rc))
    4646        {
  • trunk/src/VBox/Runtime/testcase/tstDir-3.cpp

    r69434 r69674  
    3737    unsigned cFilesMatch = 0;
    3838    PRTDIR pDir;
    39     int rc = RTDirOpenFiltered(&pDir, pszFilter, RTDIRFILTER_WINNT, 0);
     39    int rc = RTDirOpenFiltered(&pDir, pszFilter, RTDIRFILTER_WINNT, 0 /*fFlags*/);
    4040    if (RT_SUCCESS(rc))
    4141    {
  • trunk/src/VBox/Runtime/testcase/tstDir.cpp

    r69111 r69674  
    8686                rc = RTDirOpen(&pDir, argv[i]);
    8787            else
    88                 rc = RTDirOpenFiltered(&pDir, argv[i], RTDIRFILTER_WINNT, 0);
     88                rc = RTDirOpenFiltered(&pDir, argv[i], RTDIRFILTER_WINNT, 0 /*fFlags*/);
    8989            if (RT_SUCCESS(rc))
    9090            {
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