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

unistd: getgrouplist: Rework code to use reserve_double_buffer_size #1130

Merged
merged 1 commit into from Sep 28, 2019
Merged

unistd: getgrouplist: Rework code to use reserve_double_buffer_size #1130

merged 1 commit into from Sep 28, 2019

Conversation

otavio
Copy link
Contributor

@otavio otavio commented Sep 25, 2019

The buffer resize logic can be simplified reusing the
reserve_double_buffer_size method.

Signed-off-by: Otavio Salvador otavio@ossystems.com.br

The buffer resize logic can be simplified reusing the
`reserve_double_buffer_size` method.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Copy link
Member

@asomers asomers left a comment

Choose a reason for hiding this comment

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

bors r+

bors bot added a commit that referenced this pull request Sep 28, 2019
1121: Fix #1093 r=asomers a=tathanhdinh

Hello,
This PR fixes the problem discovered in #1093.
Thanks for any comment.

1130: unistd: getgrouplist: Rework code to use `reserve_double_buffer_size` r=asomers a=otavio

The buffer resize logic can be simplified reusing the
`reserve_double_buffer_size` method.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

Co-authored-by: Ta Thanh Dinh <tathanhdinh@gmail.com>
Co-authored-by: Otavio Salvador <otavio@ossystems.com.br>
@bors
Copy link
Contributor

bors bot commented Sep 28, 2019

Build succeeded

@bors bors bot merged commit e4814dd into nix-rust:master Sep 28, 2019
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.

None yet

2 participants