VirtualBox

Changeset 46049 in vbox for trunk


Ignore:
Timestamp:
May 14, 2013 7:56:54 AM (12 years ago)
Author:
vboxsync
Message:

RTPathParsedReassemble, RTPathSplitReassemble: It's RTPATH_STYLE not PATH_STYLE.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/path/RTPathParsedReassemble.cpp

    r45400 r46049  
    5656    switch (fFlags & RTPATH_STR_F_STYLE_MASK)
    5757    {
    58 #if PATH_STYLE == RTPATH_STR_F_STYLE_DOS
    5958        case RTPATH_STR_F_STYLE_HOST:
    60 #endif
     59            chSlash = RTPATH_SLASH;
     60            break;
     61
    6162        case RTPATH_STR_F_STYLE_DOS:
    6263            chSlash = '\\';
    6364            break;
    6465
    65 #if PATH_STYLE == RTPATH_STR_F_STYLE_UNIX
    66         case RTPATH_STR_F_STYLE_HOST:
    67 #endif
    6866        case RTPATH_STR_F_STYLE_UNIX:
    6967            chSlash = '/';
  • trunk/src/VBox/Runtime/common/path/RTPathSplitReassemble.cpp

    r45404 r46049  
    5454    switch (fFlags & RTPATH_STR_F_STYLE_MASK)
    5555    {
    56 #if PATH_STYLE == RTPATH_STR_F_STYLE_DOS
    5756        case RTPATH_STR_F_STYLE_HOST:
    58 #endif
     57            chSlash = RTPATH_SLASH;
     58            break;
     59
    5960        case RTPATH_STR_F_STYLE_DOS:
    6061            chSlash = '\\';
    6162            break;
    6263
    63 #if PATH_STYLE == RTPATH_STR_F_STYLE_UNIX
    64         case RTPATH_STR_F_STYLE_HOST:
    65 #endif
    6664        case RTPATH_STR_F_STYLE_UNIX:
    6765            chSlash = '/';
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