osx_write fixes.
authorAndre Noll <maan@systemlinux.org>
Thu, 22 Apr 2010 16:01:34 +0000 (18:01 +0200)
committerAndre Noll <maan@systemlinux.org>
Thu, 22 Apr 2010 16:01:34 +0000 (18:01 +0200)
commite9cd585d196728e24eb6e2086405b73842bc3eb5
tree58d8188238a375161100762025c3c76a53d3c4bf
parent688713e9970982cf9d124b956f18a7640d3bd042
osx_write fixes.

Boy, that was broken since the switch to the buffer tree API
and hasn't obviously seen any testing since then.

That code is rather strange and full of braindead crap. It
should be rewritten eventually. For now, this patch beats it
a little bit into the direction of sanitity.
ggo/osx_write.ggo
osx_write.c