-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`READ_BUFFER` was originally added for `read`, but `read` no longer needs it now that we can use `rustix::io::read_uninit`. So the only thing left using `READ_BUFFER` is the xattr functions. It wasn't really correct for the xattr functions to use a `PIPE_BUF`-sized buffer anyway, so remove `READ_BUFFER` entirely and just use `Vec`s for their buffers. This also fixes compile errors with u8/i8 mismatches when `linux-raw-sys/std` is enabled. Fixes #132.
- Loading branch information
1 parent
ad97be3
commit 593322f
Showing
2 changed files
with
21 additions
and
41 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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