Skip to content

Conversation

@cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Feb 2, 2019

Currently, on Windows the uv_utsname_t's version field can be an empty string if no service packs are installed. This isn't very helpful, and a lot more information is available in the Windows registry. This commit prepends the full product name to the existing service pack information.

Refs: nodejs/node#25843
Refs: #2128 (comment)

@cjihrig
Copy link
Contributor Author

cjihrig commented Feb 2, 2019

Windows CI: https://ci.nodejs.org/job/libuv-test-commit-windows/1317/ (particularly https://ci.nodejs.org/job/libuv-test-commit-windows/1317/nodes=win2008r2-vs2013/, since none of the other hosts appear to have service packs installed)

EDIT: CI was fine. Example output below

# uv_os_uname:
#   sysname: Windows_NT
#   release: 6.1.7601
#   version: Windows Server 2008 R2 Datacenter Service Pack 1
#   machine: i686

EDIT: New CI that handles registry issues more gracefully: https://ci.nodejs.org/job/libuv-test-commit-windows/1318/

@cjihrig cjihrig requested a review from bzoz February 2, 2019 17:21
@cjihrig cjihrig force-pushed the uname branch 2 times, most recently from b6a6973 to 4b66a69 Compare February 5, 2019 19:35
@cjihrig cjihrig force-pushed the uname branch 4 times, most recently from c7ebe31 to a45eff0 Compare February 5, 2019 21:13
Currently, on Windows the uv_utsname_t's version field can
be an empty string if no service packs are installed. This isn't
very helpful, and a lot more information is available in the
Windows registry. This commit prepends the full product name
to the existing service pack information.

Refs: nodejs/node#25843
Refs: libuv#2128 (comment)
PR-URL: libuv#2170
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Bartosz Sosnowski <[email protected]>
@cjihrig cjihrig merged commit 3908af5 into libuv:v1.x Feb 7, 2019
@cjihrig cjihrig deleted the uname branch February 7, 2019 20:21
@cjihrig
Copy link
Contributor Author

cjihrig commented Feb 7, 2019

Thanks for the reviews!

cjihrig added a commit to cjihrig/node that referenced this pull request Feb 13, 2019
Notable changes:
- A bug that could result in 100% CPU utilization in Node
  has been fixed (libuv/libuv#2162)
- Node's report module will now include the entire Windows
  product name (libuv/libuv#2170)

PR-URL: nodejs#26037
Fixes: nodejs#26013
Fixes: nodejs#25875
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
addaleax pushed a commit to nodejs/node that referenced this pull request Feb 13, 2019
Notable changes:
- A bug that could result in 100% CPU utilization in Node
  has been fixed (libuv/libuv#2162)
- Node's report module will now include the entire Windows
  product name (libuv/libuv#2170)

PR-URL: #26037
Fixes: #26013
Fixes: #25875
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
njlr pushed a commit to buckaroo-pm/libuv that referenced this pull request Apr 5, 2019
Currently, on Windows the uv_utsname_t's version field can
be an empty string if no service packs are installed. This isn't
very helpful, and a lot more information is available in the
Windows registry. This commit prepends the full product name
to the existing service pack information.

Refs: nodejs/node#25843
Refs: libuv#2128 (comment)
PR-URL: libuv#2170
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Bartosz Sosnowski <[email protected]>
MylesBorins pushed a commit to MylesBorins/node that referenced this pull request May 16, 2019
Notable changes:
- A bug that could result in 100% CPU utilization in Node
  has been fixed (libuv/libuv#2162)
- Node's report module will now include the entire Windows
  product name (libuv/libuv#2170)

PR-URL: nodejs#26037
Fixes: nodejs#26013
Fixes: nodejs#25875
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
MylesBorins pushed a commit to nodejs/node that referenced this pull request May 16, 2019
Notable changes:
- A bug that could result in 100% CPU utilization in Node
  has been fixed (libuv/libuv#2162)
- Node's report module will now include the entire Windows
  product name (libuv/libuv#2170)

Backport-PR-URL: #27728
PR-URL: #26037
Fixes: #26013
Fixes: #25875
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
liujinye-sys pushed a commit to open-vela/apps_system_libuv that referenced this pull request Jul 23, 2025
Currently, on Windows the uv_utsname_t's version field can
be an empty string if no service packs are installed. This isn't
very helpful, and a lot more information is available in the
Windows registry. This commit prepends the full product name
to the existing service pack information.

Refs: nodejs/node#25843
Refs: libuv/libuv#2128 (comment)
PR-URL: libuv/libuv#2170
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Bartosz Sosnowski <[email protected]>
liujinye-sys pushed a commit to open-vela/apps_system_libuv that referenced this pull request Dec 16, 2025
Currently, on Windows the uv_utsname_t's version field can
be an empty string if no service packs are installed. This isn't
very helpful, and a lot more information is available in the
Windows registry. This commit prepends the full product name
to the existing service pack information.

Refs: nodejs/node#25843
Refs: libuv/libuv#2128 (comment)
PR-URL: libuv/libuv#2170
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Bartosz Sosnowski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants