Changeset 19929 in vbox
- Timestamp:
- May 23, 2009 12:15:49 AM (16 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/path.cpp
r19928 r19929 759 759 { 760 760 #if defined (RT_OS_OS2) || defined (RT_OS_WINDOWS) 761 if ( pszPath[1] == ':' 761 if ( (size_t)(pszPathEnd - pszPath) == 2 762 && pszPath[1] == ':' 762 763 && RT_C_IS_ALPHA(pszPath[0])) 763 764 { -
trunk/src/VBox/Runtime/testcase/tstPath.cpp
r19926 r19929 269 269 "dir//", "//file", "dir/file", 270 270 "dir///", "///file", "dir/file", 271 "/bin/testcase", "foo.r0", "/bin/testcase/foo.r0", 271 272 #if defined (RT_OS_OS2) || defined (RT_OS_WINDOWS) 272 273 "/", "\\", "/", … … 282 283 "C:\\", "/autoexec.bat", "C:\\autoexec.bat", 283 284 "C:\\\\", "autoexec.bat", "C:\\autoexec.bat", 285 "E:\\bin\\testcase", "foo.r0", "E:\\bin\\testcase/foo.r0", 284 286 #endif 285 287 };
Note:
See TracChangeset
for help on using the changeset viewer.