mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
8024007: Misc. cleanup of static agent code
Minor cleanup of static agent code from 8014135
Reviewed-by: dcubed, sspitsyn
This commit is contained in:
parent
7e04c1775c
commit
091edb47c5
5 changed files with 10 additions and 7 deletions
|
@ -5429,7 +5429,7 @@ char* os::build_agent_function_name(const char *sym_name, const char *lib_name,
|
|||
if ((start = strrchr(lib_name, *os::file_separator())) != NULL) {
|
||||
lib_name = ++start;
|
||||
} else {
|
||||
// Need to check for C:
|
||||
// Need to check for drive prefix
|
||||
if ((start = strchr(lib_name, ':')) != NULL) {
|
||||
lib_name = ++start;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue