hotspot/src/os/windows/vm/os_windows.cpp
changeset 19973 d98623e1f50b
parent 19560 d44eb8cd7ecc
child 20006 9dc2add3103b
equal deleted inserted replaced
19766:b6d8784a1037 19973:d98623e1f50b
  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)) {