VirtualBox

Changeset 69753 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 19, 2017 2:27:58 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119153
Message:

iprt/dir: Morphing PRTDIR into a handle named RTDIR. (Been wanting to correct this for years. Don't know why I makde it a pointer rather than an abstrct handle like everything else.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/DBGFR3PlugIn.cpp

    r69674 r69753  
    471471    strcat(szPath, pszSuff);
    472472
    473     PRTDIR pDir;
    474     rc = RTDirOpenFiltered(&pDir, szPath, RTDIRFILTER_WINNT, 0 /*fFlags*/);
     473    RTDIR hDir;
     474    rc = RTDirOpenFiltered(&hDir, szPath, RTDIRFILTER_WINNT, 0 /*fFlags*/);
    475475    if (RT_SUCCESS(rc))
    476476    {
     
    479479         */
    480480        RTDIRENTRY DirEntry;
    481         while (RT_SUCCESS(RTDirRead(pDir, &DirEntry, NULL)))
     481        while (RT_SUCCESS(RTDirRead(hDir, &DirEntry, NULL)))
    482482        {
    483483            szPath[offDir] = '\0';
     
    496496        }
    497497
    498         RTDirClose(pDir);
     498        RTDirClose(hDir);
    499499    }
    500500}
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