VirtualBox

Changeset 69754 in vbox


Ignore:
Timestamp:
Nov 19, 2017 2:32:51 PM (7 years ago)
Author:
vboxsync
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.) [build fixes]

Location:
trunk/src/VBox/Runtime/r3/linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/linux/RTProcIsRunningByName-linux.cpp

    r69753 r69754  
    110110            }
    111111        }
    112         RTDirClose(pDir);
     112        RTDirClose(hDir);
    113113    }
    114114
  • trunk/src/VBox/Runtime/r3/linux/krnlmod-linux.cpp

    r69753 r69754  
    180180        while (RT_SUCCESS(rc))
    181181        {
    182             if (!RTDirEntryIsStdDotLink(&DirEntry))
     182            if (!RTDirEntryIsStdDotLink(&DirEnt))
    183183                cKmodsLoaded++;
    184184            rc = RTDirRead(hDir, &DirEnt, NULL);
     
    207207
    208208    RTDIR hDir = NULL;
    209     int rc = RTDirOpen(&pDir, "/sys/module");
     209    int rc = RTDirOpen(&hDir, "/sys/module");
    210210    if (RT_SUCCESS(rc))
    211211    {
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