Changeset 74368 in vbox for trunk/src/VBox
- Timestamp:
- Sep 19, 2018 11:27:56 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/fileio-win.cpp
r74358 r74368 298 298 */ 299 299 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. */ 300 305 if (g_enmWinVer >= kRTWinOSType_XP) /* Not sure since when the prefix is available, so play safe by default. */ 301 306 { … … 320 325 if ( RT_SUCCESS(rc) 321 326 && !pwszFilename) 322 { 327 #endif 323 328 rc = RTStrToUtf16(pszFilename, &pwszFilename); 324 }325 329 326 330 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.