comparison src/os/windows/vm/os_windows.cpp @ 12253:179cd89fb279

Merge
author tschatzl
date Thu, 19 Sep 2013 09:34:20 +0200
parents 40136aa2cdb1 8e94527f601e
children cefad50507d8 2cfad8cc3bab 5656140324ed 0e6af9b390af
comparison
equal deleted inserted replaced
12252:06ae47d9d088 12253:179cd89fb279
5428 if (is_absolute_path) { 5428 if (is_absolute_path) {
5429 // Need to strip path, prefix and suffix 5429 // Need to strip path, prefix and suffix
5430 if ((start = strrchr(lib_name, *os::file_separator())) != NULL) { 5430 if ((start = strrchr(lib_name, *os::file_separator())) != NULL) {
5431 lib_name = ++start; 5431 lib_name = ++start;
5432 } else { 5432 } else {
5433 // Need to check for C: 5433 // Need to check for drive prefix
5434 if ((start = strchr(lib_name, ':')) != NULL) { 5434 if ((start = strchr(lib_name, ':')) != NULL) {
5435 lib_name = ++start; 5435 lib_name = ++start;
5436 } 5436 }
5437 } 5437 }
5438 if (len <= (prefix_len + suffix_len)) { 5438 if (len <= (prefix_len + suffix_len)) {