VirtualBox

Ignore:
Timestamp:
May 17, 2019 11:53:06 AM (6 years ago)
Author:
vboxsync
Message:

winnt/vboxsf: Try provide correct stat info for directories too. bugref:9172

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/SharedFolders/driver/info.cpp

    r78563 r78564  
    14451445         * For directories we don't necessarily go to the host but use info from when we
    14461446         * opened the them, why we do this is a little unclear as all the clues that r9630
    1447          * give is "fixes".
     1447         * give is "fixes". Update(bird): Disabled this and lets see if anything breaks.
    14481448         *
    14491449         * The TTL here works around two issues in particular:
     
    14811481        {
    14821482            /* Query the information if necessary. */
    1483             if (   !(pVBoxFobx->Info.Attr.fMode & RTFS_DOS_DIRECTORY) /** @todo figure out why we don't return up-to-date info for directories! */
     1483            if (   1 /*!(pVBoxFobx->Info.Attr.fMode & RTFS_DOS_DIRECTORY) - bird: disabled - let's see if anything breaks. */
    14841484                && (   !pVBoxFobx->nsUpToDate
    14851485                    || RTTimeSystemNanoTS() - pVBoxFobx->nsUpToDate > RT_NS_100US /** @todo implement proper TTL */ ) )
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