summaryrefslogtreecommitdiffhomepage
path: root/mixlib
diff options
context:
space:
mode:
authorjaortega <jaortega>2000-11-23 22:42:11 +0000
committerjaortega <jaortega>2000-11-23 22:42:11 +0000
commit540d97e3fe5e76cdb090cf21190640a79cf200c1 (patch)
treebf613186604449e0f8014c00905a513f94690a93 /mixlib
parentcfe48486bc460cba5f3ae2be7d01957c2a68ec80 (diff)
downloadmdk-540d97e3fe5e76cdb090cf21190640a79cf200c1.tar.gz
mdk-540d97e3fe5e76cdb090cf21190640a79cf200c1.tar.bz2
(mix_device_write) file buffer flushed after writing
Diffstat (limited to 'mixlib')
-rw-r--r--mixlib/mix_device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mixlib/mix_device.c b/mixlib/mix_device.c
index 30fee7e..2e68f03 100644
--- a/mixlib/mix_device.c
+++ b/mixlib/mix_device.c
@@ -161,6 +161,8 @@ mix_device_write (mix_device_t *dev, const mix_word_t *block)
block, SIZES_[dev->type]);
if (result && mix_device_mode(dev) == mix_dev_CHAR)
putc ('\n', mix_io_to_FILE (GET_CHANNEL_ (dev)));
+
+ fflush (mix_io_to_FILE (GET_CHANNEL_ (dev)));
return result;
}