comparison src/os/windows/vm/os_windows.cpp @ 9062:8be1318fbe77

Merge
author dcubed
date Fri, 05 Apr 2013 10:38:08 -0700
parents 0ca3dd0ffaba 17bf4d428955
children 89e4d67fdd2a f36e073d56a4 6f817ce50129
comparison
equal deleted inserted replaced
9055:dcdeb150988c 9062:8be1318fbe77
1180 jio_snprintf(buffer, buflen, "%s%s.dll", pname, fname); 1180 jio_snprintf(buffer, buflen, "%s%s.dll", pname, fname);
1181 retval = true; 1181 retval = true;
1182 } else if (strchr(pname, *os::path_separator()) != NULL) { 1182 } else if (strchr(pname, *os::path_separator()) != NULL) {
1183 int n; 1183 int n;
1184 char** pelements = split_path(pname, &n); 1184 char** pelements = split_path(pname, &n);
1185 if (pelements == NULL) {
1186 return false;
1187 }
1185 for (int i = 0 ; i < n ; i++) { 1188 for (int i = 0 ; i < n ; i++) {
1186 char* path = pelements[i]; 1189 char* path = pelements[i];
1187 // Really shouldn't be NULL, but check can't hurt 1190 // Really shouldn't be NULL, but check can't hurt
1188 size_t plen = (path == NULL) ? 0 : strlen(path); 1191 size_t plen = (path == NULL) ? 0 : strlen(path);
1189 if (plen == 0) { 1192 if (plen == 0) {