fuse: replace deprecated StringBytePtr with BytePtrFromString#531
Closed
Stavrospanakakis wants to merge 1 commit intohanwen:masterfrom
Closed
fuse: replace deprecated StringBytePtr with BytePtrFromString#531Stavrospanakakis wants to merge 1 commit intohanwen:masterfrom
Stavrospanakakis wants to merge 1 commit intohanwen:masterfrom
Conversation
Change-Id: I31b52356438352829971c6b491d37fe09e088911
Owner
|
can you upload to gerrithub? thanks. See CONTRIBUTING. |
Contributor
Author
|
@hanwen Sure, I uploaded the code to gerrithub. |
Owner
|
thanks! merged as 58e0d83 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As mentioned in the Go codebase, the method
syscall.StringBytePtris deprecated and has to be replaced withsyscall.BytePtrFromString.https://github.com/golang/go/blob/8a4b439ee6e0f5d41cb6ae30146b901f3c0ad4b7/src/syscall/syscall.go#L57-L73
This pull request replaces the deprecated method.
Change-Id: I31b52356438352829971c6b491d37fe09e088911