VirtualBox

Changeset 60481 in vbox for trunk/src/VBox/Runtime/nt


Ignore:
Timestamp:
Apr 13, 2016 8:14:41 PM (9 years ago)
Author:
vboxsync
Message:

IPRT: Added testcase for RTNtPathExpand8dot3Path and RTNtPathFindPossible8dot3Name, fixing bug in the former. include\ src\VBox\Runtime\

Location:
trunk/src/VBox/Runtime/nt
Files:
1 added
1 edited

Legend:

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

    r60480 r60481  
    158158                    pUniStr->Length += (USHORT)(cwcNameNew * sizeof(WCHAR));
    159159                    pwszFixEnd      -= cwcNameOld;
    160                     pwszFixEnd      -= cwcNameNew;
     160                    pwszFixEnd      += cwcNameNew;
    161161                    memcpy(pwszFix, &puBuf->Info.FileName[offName], cwcNameNew * sizeof(WCHAR));
    162162                }
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