On 2017/04/02 13:15, Luke Small wrote: (quote word-wrapped and trimmed) > Can the code be fixed to not > cause problems when msg.msg_iov is zero? At first blush, that would > seem like a simple fix to me. I assume that such a fix wouldn't break > POSIX or some RFC.
POSIX or some RFC are irrelevant. Existing code has been written against real-world OS not specs (and any new portable code still has to work on other systems with the existing behaviour). Maybe some of it works "by mistake" _because_ of this behaviour and changing it would break it. Fancy doing that audit across the ports tree?
