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

treewide: Replace bzero with memset #5690

Merged
merged 1 commit into from
Mar 11, 2021
Merged

treewide: Replace bzero with memset #5690

merged 1 commit into from
Mar 11, 2021

Conversation

neheb
Copy link
Contributor

@neheb neheb commented Nov 23, 2019

bzero has been deprecated by POSIX 2008. It recommends the use of memset
instead.

bzero has been deprecated by POSIX 2008. It recommends the use of memset
instead.
@michaelrsweet
Copy link
Collaborator

It may be deprecated by POSIX, but this is platform specific code and zero is not deprecated on macOS. Will consider it...

@michaelrsweet michaelrsweet self-assigned this Nov 23, 2019
@michaelrsweet michaelrsweet added the enhancement New feature or request label Nov 23, 2019
@neheb
Copy link
Contributor Author

neheb commented Nov 23, 2019

OTOH that Darwin file already uses memset.

@michaelrsweet michaelrsweet added this to the Future milestone Dec 4, 2019
@michaelrsweet michaelrsweet removed their assignment Dec 20, 2019
@michaelrsweet michaelrsweet merged commit b27a49b into apple:master Mar 11, 2021
@neheb neheb deleted the bzero branch March 11, 2021 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants