VirtualBox

Changeset 74368 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 19, 2018 11:27:56 AM (6 years ago)
Author:
vboxsync
Message:

IPRT/fileio-win.cpp: Disabled long filename code from r125172. See todo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/fileio-win.cpp

    r74358 r74368  
    298298     */
    299299    PRTUTF16 pwszFilename = NULL;
     300#if 0 /** @todo r=bird: This stuff just isn't up to scratch. Sorry.  RTStrAPrintf2? WTF?!?  When using the long path prefix,
     301       * the path is just passed right thru to the NT API, so we need to fix unix slashes, resolve '.' and '..' components,
     302       * and probably also get rid of extra slashes.  Finally, the 260 limit (there is a \#define for it btw) actually
     303       * applies to the  converted filename (UTF-16), not the UTF-8 one, so this may break stuff (think asian languages)
     304       * that isn't over the 260 limit.  */
    300305    if (g_enmWinVer >= kRTWinOSType_XP) /* Not sure since when the prefix is available, so play safe by default. */
    301306    {
     
    320325    if (   RT_SUCCESS(rc)
    321326        && !pwszFilename)
    322     {
     327#endif
    323328        rc = RTStrToUtf16(pszFilename, &pwszFilename);
    324     }
    325329
    326330    if (RT_FAILURE(rc))
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