Commit 263d5b54 authored by Committed by Antonio J. PenaBrowse files
Promote MPL_large_writev/readv return types to ssize_t.
We were originally returning "int" from these functions because the idea was that they'd never read/write more than INT_MAX. However, in the case where the upper layer passes an IOV, where the first element is smaller than INT_MAX, but the next element is larger than INT_MAX, the total number of bytes sent might be larger than INT_MAX. This was occassionally showing up as an error on Mac OS for large message communication. Signed-off-by: Antonio J. Pena <email@example.com>
Showing with 4 additions and 4 deletions