VirtualBox

Changeset 2872 in kBuild


Ignore:
Timestamp:
Sep 4, 2016 6:42:10 PM (8 years ago)
Author:
bird
Message:

kFsCache: w7 fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/nt/kFsCache.c

    r2868 r2872  
    17131713            || ((PKFSDIR)pObj)->hDir == INVALID_HANDLE_VALUE)
    17141714        {
    1715 #if 0 /** @todo performance check these two alternatives. */
     1715#if 1
     1716            /* This always works and doesn't mess up NtQueryDirectoryFile. */
    17161717            MY_UNICODE_STRING    UniStr;
    17171718            MY_OBJECT_ATTRIBUTES ObjAttr;
     
    17391740#else
    17401741            /* This alternative lets us keep the inode number up to date and
    1741                detect name case changes. */
     1742               detect name case changes.
     1743               Update: This doesn't work on windows 7, it ignores the UniStr
     1744                       and continue with the "*" search. So, we're using the
     1745                       above query instead for the time being. */
    17421746            MY_UNICODE_STRING    UniStr;
    17431747# ifdef KFSCACHE_CFG_SHORT_NAMES
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