Solve minor bug in bootstrap name.
@@ -1298,7 +1298,8 @@ void node_loader_impl_thread(void * data)
strncpy(bootstrap_path_str, load_library_path_env, load_library_path_length);
- /*
+ if (bootstrap_path_str[load_library_path_length - 1] != '/' && bootstrap_path_str[load_library_path_length - 1] != '\\')
+ {
#if defined(WIN32) || defined(_WIN32)
bootstrap_path_str[load_library_path_length] = '\\';
#else
@@ -1306,7 +1307,7 @@ void node_loader_impl_thread(void * data)
#endif
++load_library_path_length;
- */
+ }
strncpy(&bootstrap_path_str[load_library_path_length], bootstrap_file_str, sizeof(bootstrap_file_str) - 1);
