Always send the entire buffer in mtwrite.
authorFredrik Tolf <fredrik@dolda2000.com>
Fri, 20 Aug 2010 15:44:56 +0000 (17:44 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Fri, 20 Aug 2010 15:44:56 +0000 (17:44 +0200)
commit9dc25d3d8337f3e9ecc31530f3be10b9ecf07422
tree273c982ebbaf813c139847104dd0b5c4b6a74b53
parent81cfca6c6ec15e3a8f94e278f2bdfcc1249eb122
Always send the entire buffer in mtwrite.

If not, then libc considers it an error, as with the fwrite(3)
protocol. That does, however, seem to violate what is specified in the
manual, which states that mtwrite should work like write(2).
lib/mtio.c