VirtualBox

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.)

Location:
trunk/src/VBox/Runtime/common/path
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/path/RTPathGlob.cpp

    r69111 r69753  
    14471447 * @param   cbNeeded    The required entry size.
    14481448 */
    1449 DECL_NO_INLINE(static, int) rtPathGlobSkipDirEntry(PRTDIR hDir, size_t cbNeeded)
     1449DECL_NO_INLINE(static, int) rtPathGlobSkipDirEntry(RTDIR hDir, size_t cbNeeded)
    14501450{
    14511451    int rc = VERR_BUFFER_OVERFLOW;
     
    18751875     * Enumerate entire directory and match each entry.
    18761876     */
    1877     PRTDIR hDir;
     1877    RTDIR hDir;
    18781878    int rc = RTDirOpen(&hDir, offPath ? pGlob->szPath : ".");
    18791879    if (RT_SUCCESS(rc))
  • trunk/src/VBox/Runtime/common/path/RTPathRmCmd.cpp

    r69111 r69753  
    270270     * Traverse the directory.
    271271     */
    272     PRTDIR hDir;
     272    RTDIR hDir;
    273273    int rc = RTDirOpen(&hDir, pszPath);
    274274    if (RT_FAILURE(rc))
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