Skip to content

Conversation

cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Feb 10, 2019

Ignore the first commit, which is the libuv update from #26037.

UV_MAXHOSTNAMESIZE was introduced in libuv 1.26.0. Use this instead of including multiple header files, adding fallback #ifdef logic, and remembering to add one to the buffer size for the terminating nul character with MAXHOSTNAMELEN.

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

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot nodejs-github-bot added the lib / src Issues and PRs related to general changes in the lib or src directory. label Feb 10, 2019
@addaleax addaleax added report Issues and PRs related to process.report. os Issues and PRs related to the os subsystem. and removed lib / src Issues and PRs related to general changes in the lib or src directory. labels Feb 10, 2019
@danbev
Copy link
Contributor

danbev commented Feb 11, 2019

@cjihrig
Copy link
Contributor Author

cjihrig commented Feb 11, 2019

UV_MAXHOSTNAMESIZE was introduced in libuv 1.26.0. Use this
instead of including multiple header files, adding fallback
ifdef logic, and remembering to add one to the buffer size
for the terminating nul character with MAXHOSTNAMELEN.

PR-URL: nodejs#26038
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@cjihrig cjihrig merged commit 8ecf313 into nodejs:master Feb 13, 2019
@cjihrig cjihrig deleted the hostsize branch February 13, 2019 13:21
addaleax pushed a commit that referenced this pull request Feb 13, 2019
UV_MAXHOSTNAMESIZE was introduced in libuv 1.26.0. Use this
instead of including multiple header files, adding fallback
ifdef logic, and remembering to add one to the buffer size
for the terminating nul character with MAXHOSTNAMELEN.

PR-URL: #26038
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@targos targos mentioned this pull request Feb 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

os Issues and PRs related to the os subsystem. report Issues and PRs related to process.report.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants