GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: remove empty name check in node_env_var.cc · nodejs/node@a356f32

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node_env_var.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node_env_var.cc‎

Copy file name to clipboardExpand all lines: src/node_env_var.cc
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,7 @@ Local<Array> RealEnvStore::Enumerate(Isolate* isolate) const {
178178
for (int i = 0; i < count; i++) {
179179
#ifdef _WIN32
180180
// If the key starts with '=' it is a hidden environment variable.
181-
// The '\0' check is a workaround for the bug behind
182-
// https://github.com/libuv/libuv/pull/2473 and can be removed later.
183-
if (items[i].name[0] == '=' || items[i].name[0] == '\0') continue;
181+
if (items[i].name[0] == '=') continue;
184182
#endif
185183
MaybeLocal<String> str = String::NewFromUtf8(isolate, items[i].name);
186184
if (str.IsEmpty()) {

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.