Changeset 26520 in vbox
- Timestamp:
- Feb 15, 2010 1:47:34 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 2 edited
-
include/iprt/path.h (modified) (1 diff)
-
src/VBox/Runtime/Makefile.kmk (modified) (1 diff)
-
src/VBox/Runtime/common/path/RTPathChangeToDosSlashes.cpp (added)
-
src/VBox/Runtime/common/path/RTPathChangeToUnixSlashes.cpp (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/path.h
r26476 r26520 262 262 */ 263 263 RTDECL(size_t) RTPathStripTrailingSlash(char *pszPath); 264 265 /** 266 * Changes all the slahes in the specified path to DOS style. 267 * 268 * Unless @a fForce is set, nothing will be done when on a UNIX flavored system 269 * since paths wont work with DOS style slashes there. 270 * 271 * @returns @a pszPath. 272 * @param pszPath The path to modify. 273 * @param fForce Whether to force the conversion on non-DOS OSes. 274 */ 275 RTDECL(char *) RTPathChangeToDosSlashes(char *pszPath, bool fForce); 276 277 /** 278 * Changes all the slahes in the specified path to unix style. 279 * 280 * Unless @a fForce is set, nothing will be done when on a UNIX flavored system 281 * since paths wont work with DOS style slashes there. 282 * 283 * @returns @a pszPath. 284 * @param pszPath The path to modify. 285 * @param fForce Whether to force the conversion on non-DOS OSes. 286 */ 287 RTDECL(char *) RTPathChangeToUnixSlashes(char *pszPath, bool fForce); 264 288 265 289 /** -
trunk/src/VBox/Runtime/Makefile.kmk
r26519 r26520 273 273 common/path/RTPathAbsExDup.cpp \ 274 274 common/path/RTPathAppend.cpp \ 275 common/path/RTPathChangeToDosSlashes.cpp \ 276 common/path/RTPathChangeToUnixSlashes.cpp \ 275 277 common/path/RTPathCopyComponents.cpp \ 276 278 common/path/RTPathCountComponents.cpp \
Note:
See TracChangeset
for help on using the changeset viewer.

