altos: Flush log when full
authorKeith Packard <keithp@keithp.com>
Sun, 16 Jan 2011 06:42:38 +0000 (22:42 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 16 Jan 2011 22:34:54 +0000 (14:34 -0800)
commit7a35b2d7048669a96256d4ea0086299f8a0cb1df
treeafcc05181cb3ed215c9f0417c392fa971ae765bb
parent47ee4597e55749e8f66f61a585ea32776979bf80
altos: Flush log when full

When the log storage is full, make sure any pending writes are flushed
out so that the last bit isn't lost.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_log.c