Skip to content

Commit ebcbbfb

Browse files
committed
Replacing std::getenv() by getstdenv().
1 parent 15e9a52 commit ebcbbfb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

graal-nodejs/deps/v8/src/graal/graal_isolate.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,8 @@ v8::Isolate* GraalIsolate::New(v8::Isolate::CreateParams const& params, v8::Isol
447447
}
448448
#endif
449449

450-
const char* verbose_graalvm_launchers = std::getenv("VERBOSE_GRAALVM_LAUNCHERS");
451-
if (verbose_graalvm_launchers && strcmp(verbose_graalvm_launchers, "true") == 0) {
450+
std::string verbose_graalvm_launchers = getstdenv("VERBOSE_GRAALVM_LAUNCHERS");
451+
if (verbose_graalvm_launchers == "true") {
452452
fprintf(stderr, "load: %s ", jvmlib_path.c_str());
453453
for (int i = 0; i < options.size(); i++) {
454454
fprintf(stderr, " %s", options[i].optionString);

0 commit comments

Comments
 (0)