VirtualBox

Changeset 69760 in vbox


Ignore:
Timestamp:
Nov 19, 2017 3:35:22 PM (7 years ago)
Author:
vboxsync
Message:

RTProcIsRunningByName-linux.cpp: RTDIRENTRYTYPE_UNKNOWN, just in case.

File:
1 edited

Legend:

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

    r69754 r69760  
    6565             * Filter numeric directory entries only.
    6666             */
    67             if (    DirEntry.enmType == RTDIRENTRYTYPE_DIRECTORY
    68                 &&  RTStrToUInt32(DirEntry.szName) > 0)
     67            if (   (   DirEntry.enmType == RTDIRENTRYTYPE_DIRECTORY
     68                    || DirEntry.enmType == RTDIRENTRYTYPE_UNKNOWN)
     69                && RTStrToUInt32(DirEntry.szName) > 0)
    6970            {
    7071                /*
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