Merge pull request #125326 from fzakaria/faridzakaria/fix-jdk8-patch-sprintf
jdk8: fix sprintf patch
This commit is contained in:
commit
37c453731c
@ -24,7 +24,7 @@ index c477851c1b..ff5e28d95b 100644
|
||||
sizeof(SYS_EXT_DIR) + sizeof("/lib/") + strlen(cpu_arch) + sizeof(DEFAULT_LIBPATH) + 1,
|
||||
mtInternal);
|
||||
- sprintf(ld_library_path, "%s%s" SYS_EXT_DIR "/lib/%s:" DEFAULT_LIBPATH, v, v_colon, cpu_arch);
|
||||
+ sprintf(ld_library_path, "%s%s", v);
|
||||
+ sprintf(ld_library_path, "%s", v);
|
||||
Arguments::set_library_path(ld_library_path);
|
||||
FREE_C_HEAP_ARRAY(char, ld_library_path, mtInternal);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user