Skip to content

Change listxattr's list argument to [u8].#1303

Merged
sunfishcode merged 1 commit intomainfrom
suffishcode/listxattr
Jan 31, 2025
Merged

Change listxattr's list argument to [u8].#1303
sunfishcode merged 1 commit intomainfrom
suffishcode/listxattr

Conversation

@sunfishcode
Copy link
Copy Markdown
Member

Change listxattr's list argument from [c_char] to [u8], since it's more ergonomic to use with APIs like CStr::from_bytes_with_nul.

Fixes #1218.

Change `listxattr`'s `list` argument from [`c_char`] to `[u8]`, since
it's more ergonomic to use with APIs like `CStr::from_bytes_with_nul`.

Fixes #1218.
@sunfishcode sunfishcode merged commit 7b1f638 into main Jan 31, 2025
@sunfishcode sunfishcode deleted the suffishcode/listxattr branch January 31, 2025 19:50
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.

Painful [i8] in rustix::fs::listxattr()

1 participant