VirtualBox

Changeset 83465 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 27, 2020 12:26:35 PM (5 years ago)
Author:
vboxsync
Message:

Guest Control/VBoxServiceToolbox: Some follow-up fixes for r136654 (also display dot directory entries for empty directories). bugref:9320

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceToolBox.cpp

    r83463 r83465  
    893893            break;
    894894
    895         /* Skip the dot and dot-dot links. */
    896         if (RTDirEntryExIsStdDotLink(pDirEntry))
    897             continue;
    898 
    899895        /* Check length. */
    900896        if (pDirEntry->cbName + cchDir + 3 >= RTPATH_MAX)
     
    916912            case RTFS_TYPE_DIRECTORY:
    917913            {
     914                rc = vgsvcToolboxPrintFsInfo(pDirEntry->szName, pDirEntry->cbName, fOutputFlags, pszDir,
     915                                             pIdCache, &pDirEntry->Info);
     916                if (RT_FAILURE(rc))
     917                    break;
     918
    918919                if (RTDirEntryExIsStdDotLink(pDirEntry))
    919920                    continue;
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