]> git.tuebingen.mpg.de Git - paraslash.git/commit
afh: Use write_all rather than plain write().
authorAndre Noll <maan@systemlinux.org>
Sun, 11 Dec 2011 19:21:53 +0000 (20:21 +0100)
committerAndre Noll <maan@systemlinux.org>
Fri, 20 Jan 2012 21:57:07 +0000 (22:57 +0100)
commit5ac6b5f44f64ff9a2f0e01a65013da829edfab9e
treefce65aa57cd8d83f8d956fd890130d48ee291e4b
parent864024c003d678dbb436cdfc1148b201e4e47018
afh: Use write_all rather than plain write().

We are currently using plain write() to write out the audio
file header. If this results in a short write, or if the write
is interrupted, we should just try again. So it's safer to call
write_all() here.
afh.c