VirtualBox

Changeset 64739 in vbox


Ignore:
Timestamp:
Nov 23, 2016 3:14:22 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
112065
Message:

RTNtPathExpand8dot3Path: Return warning if we failed to open anything.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/nt/RTNtPathExpand8dot3Path.cpp

    r64738 r64739  
    8989            puBuf = (union fix8dot3tmp *)RTMemAlloc(sizeof(*puBuf));
    9090            if (!puBuf)
     91            {
     92                rc = -VERR_NO_MEMORY;
    9193                break;
     94            }
    9295        }
    9396
     
    175178            NtClose(hDir);
    176179        }
     180        else
     181            rc = -RTErrConvertFromNtStatus(rcNt);
    177182
    178183        /* Advance */
  • trunk/src/VBox/Runtime/testcase/tstRTNtPath-1.cpp

    r60481 r64739  
    199199
    200200        tstTraverse8dot3(&This, cch, cch, 0);
    201 
    202 
     201        RTTestIPrintf(RTTESTLVL_ALWAYS, "info: cEntries=%u cHits=%u cFirstClassHits=%u\n",
     202                      This.cEntries, This.cHits, This.cFirstClassHits);
    203203    }
    204204    else
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