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

Use ByteSliceToString from golang.org/x/sys/unix #2924

Merged
merged 2 commits into from
May 26, 2022
Merged

Use ByteSliceToString from golang.org/x/sys/unix #2924

merged 2 commits into from
May 26, 2022

Commits on May 25, 2022

  1. Use ByteSliceToString from golang.org/x/sys/unix

    Use unix.ByteSliceToString to convert Utsname []byte fields to strings.
    
    This also allows to drop the charsToString helper which serves the same
    purpose and matches ByteSliceToString's implementation.
    
    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    tklauser committed May 25, 2022
    Configuration menu
    Copy the full SHA
    e7a7b3f View commit details
    Browse the repository at this point in the history

Commits on May 26, 2022

  1. Configuration menu
    Copy the full SHA
    b3411f0 View commit details
    Browse the repository at this point in the history