Re: [PATCH v5 1/2] xread, xwrite: Limit size of IO, fixing IO of 2GB and more on Mac OS X
- From
Torsten Bögershausen <tboegi@web.de>
- Date
- Aug 21, 2013, 19:50 UTC
- Message-ID
- <52151A08.6060103@web.de>
- In-Reply-To
- <1376981035-23284-2-git-send-email-prohaska@zib.de>
On 2013-08-20 08.43, Steffen Prohaska wrote: [] Thanks for V5. It was tested OK on my system here. (And apologies for recommending a wrapper on top of a wrapper).
One question is left: As xread() is tolerant against EAGAIN and especially EINTR, could it make sense to replace read() with xread() everywhere?
(The risk for getting EINTR is smaller when we only read a small amount of data, but it is more on the safe side)
And s/write/xwrite/
/Torsten