Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If the Buffer allocation isn't a slice then there's no need to adjust the pool offset after realloc'ing the space available. Fixes: 6462519 "buffer, doc: misc. fix and cleanup"
- Loading branch information
c6fd2c5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just want to point this out -- https://github.com/iojs/io.js/blob/v1.x/COLLABORATOR_GUIDE.md#accepting-modifications :)
c6fd2c5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Fishrock123 I assume this is for anyone else that sees this commit? Because I'm fully aware of how to contribute.
c6fd2c5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think what @Fishrock123 is trying to say is that you're supposed to open a PR and have someone review it, not land the change sight unseen.
c6fd2c5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, what ben said. I know you're used to node haha. :)
c6fd2c5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, the policy pertains to "significant changes" if I remember correctly. No need to jam up simple 2 line fixes with extraneous process when they are landed by contributors who have been working on the code base for years. If something ever did land that shouldn't git is pretty good at backing things out ;)
c6fd2c5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Significant change" is a slippery slope and it's not like a one-liner can't contain bugs. Everyone files PRs now and I do believe it has had a positive impact on code quality.