VirtualBox

Ignore:
Timestamp:
Apr 7, 2013 7:03:00 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84819
Message:

IPRT: A Study in Paths - Chapter 2: The splitting of a path into component strings.

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

Legend:

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

    r45391 r45394  
    193193                {
    194194                    if (!(fFlags & RTPATH_STR_F_NO_END))
    195                         fProps |= RTPATH_PROP_DIR_SLASH; /* (not counted) */
     195                    {
     196                        fProps |= RTPATH_PROP_DIR_SLASH; /* (not counted in component, but in cchPath) */
     197                        cchPath++;
     198                    }
    196199                    else
    197200                        fProps |= RTPATH_PROP_EXTRA_SLASHES;
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