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 Vecs for their buffers.
This also fixes compile errors with u8/i8 mismatches when linux-raw-sys/std is enabled.
READ_BUFFER
was originally added forread
, butread
no longer needs it now that we can userustix::io::read_uninit
. So the only thing left usingREAD_BUFFER
is the xattr functions. It wasn't really correct for the xattr functions to use aPIPE_BUF
-sized buffer anyway, so removeREAD_BUFFER
entirely and just useVec
s for their buffers.This also fixes compile errors with u8/i8 mismatches when
linux-raw-sys/std
is enabled.Fixes #132.