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

src: use arraysize instead of hardcode number #24473

Closed
wants to merge 2 commits into from

Conversation

leeight
Copy link
Contributor

@leeight leeight commented Nov 19, 2018

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. os Issues and PRs related to the os subsystem. labels Nov 19, 2018
@leeight leeight force-pushed the use-arrarysize branch 3 times, most recently from a52e8d4 to 2c35649 Compare November 19, 2018 06:17
src/node_url.cc Outdated Show resolved Hide resolved
@addaleax
Copy link
Member

@addaleax addaleax added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Nov 23, 2018
Copy link
Contributor

@refack refack left a comment

Choose a reason for hiding this comment

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

Added three suggestions.

src/node_os.cc Outdated Show resolved Hide resolved
Copy link
Contributor

@refack refack left a comment

Choose a reason for hiding this comment

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

💯 Thanks you!

@addaleax
Copy link
Member

Looks like the most recent changes broke Travis?

@addaleax addaleax removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Nov 23, 2018
src/node_os.cc Outdated Show resolved Hide resolved
@refack
Copy link
Contributor

refack commented Nov 24, 2018

@refack refack added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Nov 24, 2018
src/util.h Outdated Show resolved Hide resolved
@addaleax addaleax removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Nov 24, 2018
Co-Authored-By: leeight <leeight@gmail.com>
@refack
Copy link
Contributor

refack commented Nov 24, 2018

@refack refack self-assigned this Nov 24, 2018
@refack
Copy link
Contributor

refack commented Nov 24, 2018

P.S. I'm self-assigned this so I'll get notifications from GitHub, and so that I will not lose track of it and help steward it to completion.

@addaleax
Copy link
Member

addaleax commented Dec 1, 2018

Landed in adbf947, thanks for the PR! 🎉

By the way, if your PR doesn’t receive much attention within a day or two, and you think it’s ready to go, feel free to bump the thread by commenting (e.g. “bump” or pinging involved individuals like me). 🙂

@addaleax addaleax closed this Dec 1, 2018
addaleax pushed a commit that referenced this pull request Dec 1, 2018
PR-URL: #24473
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Refael Ackermann <refack@gmail.com>
BridgeAR pushed a commit that referenced this pull request Dec 5, 2018
PR-URL: #24473
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Refael Ackermann <refack@gmail.com>
@BridgeAR BridgeAR mentioned this pull request Dec 5, 2018
4 tasks
refack pushed a commit to refack/node that referenced this pull request Jan 14, 2019
PR-URL: nodejs#24473
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Refael Ackermann <refack@gmail.com>
BethGriggs pushed a commit that referenced this pull request Feb 12, 2019
PR-URL: #24473
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Refael Ackermann <refack@gmail.com>
@BethGriggs BethGriggs mentioned this pull request Feb 12, 2019
rvagg pushed a commit that referenced this pull request Feb 28, 2019
PR-URL: #24473
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Refael Ackermann <refack@gmail.com>
@refack refack removed their assignment Mar 11, 2019
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++. os Issues and PRs related to the os subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants