Mercurial > hg > graal-jvmci-8
comparison src/os/windows/vm/os_windows.cpp @ 12220:8e94527f601e
8024007: Misc. cleanup of static agent code
Summary: Minor cleanup of static agent code from 8014135
Reviewed-by: dcubed, sspitsyn
author | bpittore |
---|---|
date | Wed, 11 Sep 2013 20:03:34 -0400 |
parents | 62f527c674d2 |
children | 179cd89fb279 |
comparison
equal
deleted
inserted
replaced
12186:313b724f8911 | 12220:8e94527f601e |
---|---|
5427 if (is_absolute_path) { | 5427 if (is_absolute_path) { |
5428 // Need to strip path, prefix and suffix | 5428 // Need to strip path, prefix and suffix |
5429 if ((start = strrchr(lib_name, *os::file_separator())) != NULL) { | 5429 if ((start = strrchr(lib_name, *os::file_separator())) != NULL) { |
5430 lib_name = ++start; | 5430 lib_name = ++start; |
5431 } else { | 5431 } else { |
5432 // Need to check for C: | 5432 // Need to check for drive prefix |
5433 if ((start = strchr(lib_name, ':')) != NULL) { | 5433 if ((start = strchr(lib_name, ':')) != NULL) { |
5434 lib_name = ++start; | 5434 lib_name = ++start; |
5435 } | 5435 } |
5436 } | 5436 } |
5437 if (len <= (prefix_len + suffix_len)) { | 5437 if (len <= (prefix_len + suffix_len)) { |