Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

report: use libuv calls for OS and machine info #25900

Merged
merged 1 commit into from
Feb 5, 2019

Conversation

cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Feb 2, 2019

Replace platform specific code with libuv calls. Note that currently uv_os_uname() doesn't report the full product name on Windows. There is an open PR to libuv that would add that information. I'm not sure if anyone feels strongly about this landing before that libuv update. It doesn't matter to me, but see #25843.

Fixes: #25843

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Feb 2, 2019
@addaleax addaleax added the report Issues and PRs related to process.report. label Feb 2, 2019
Copy link
Member

@bnoordhuis bnoordhuis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % comment

src/node_report.cc Show resolved Hide resolved
Copy link
Member

@richardlau richardlau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

References to Netapi32 dll/lib can (should?) be removed from node.gyp.

@cjihrig
Copy link
Contributor Author

cjihrig commented Feb 5, 2019

PR-URL: nodejs#25900
Fixes: nodejs#25843
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. report Issues and PRs related to process.report.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Node 11 won't run on Windows Nano Server
7 participants