Changeset 57613 in vbox for trunk/src/VBox/Runtime/common/path
- Timestamp:
- Sep 4, 2015 2:19:44 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 102486
- Location:
- trunk/src/VBox/Runtime/common/path
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/path/RTPathEnsureTrailingSeparator.cpp
r57572 r57613 44 44 if (RTPATH_IS_SLASH(ch) || RTPATH_IS_VOLSEP(ch)) 45 45 return off; 46 if (off + 2 <= cbPath) 47 { 48 pszPath[off++] = RTPATH_SLASH; 49 pszPath[off] = '\0'; 50 return off; 51 } 46 52 } 47 48 if (off + 2 < cbPath) 53 else if (off + 3 <= cbPath) 49 54 { 50 55 pszPath[off++] = '.';
Note:
See TracChangeset
for help on using the changeset viewer.