Changeset 117
- Timestamp:
- Aug 27, 2010, 12:25:02 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/jdk/src/windows/bin/java_md.c
r93 r117 236 236 * they refer to it as 'JVM' instead of the full path) are able to find it. 237 237 */ 238 strcpy(crtpath, jvmpath); 239 char *sep = strrchr(crtpath, '\\'); 238 char *jvmdir = (char *)malloc(strlen(jvmpath) + 1 + 32); 239 strcpy(jvmdir, jvmpath); 240 char *sep = strrchr(jvmdir, '\\'); 240 241 if (sep) { 241 242 *sep = '\0'; 242 DosSetExtLIBPATH(crtpath, BEGIN_LIBPATH); 243 } 243 strcpy(sep, ";%BEGINLIBPATH%"); 244 DosSetExtLIBPATH(jvmdir, BEGIN_LIBPATH); 245 } 246 free(jvmdir); 244 247 #endif 245 248
Note:
See TracChangeset
for help on using the changeset viewer.