On Tue, Nov 13, 2007 at 11:50:39AM +0530, Reji Thomas wrote:
> length before calling systemcall write 131344
> Write failed: Message too long

Would it be OK for your write() implementation to just take what
bytes it can and return those as successfully written?

That happens in real life all the time, and is documented.

openssh-unix-dev mailing list