summaryrefslogtreecommitdiffstats
path: root/mbbsd/io.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-31 12:40:51 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-31 12:40:51 +0800
commit70dfe52e0ce1739dab5daff7308892d828c705c4 (patch)
treee64e07e614e2eec0c7d69d8b6f4938070841325e /mbbsd/io.c
parent314a95259dcccb82415c41b590ed36eb96719144 (diff)
downloadpttbbs-70dfe52e0ce1739dab5daff7308892d828c705c4.tar
pttbbs-70dfe52e0ce1739dab5daff7308892d828c705c4.tar.gz
pttbbs-70dfe52e0ce1739dab5daff7308892d828c705c4.tar.bz2
pttbbs-70dfe52e0ce1739dab5daff7308892d828c705c4.tar.lz
pttbbs-70dfe52e0ce1739dab5daff7308892d828c705c4.tar.xz
pttbbs-70dfe52e0ce1739dab5daff7308892d828c705c4.tar.zst
pttbbs-70dfe52e0ce1739dab5daff7308892d828c705c4.zip
- better flush/synchronization flow
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3767 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/io.c')
-rw-r--r--mbbsd/io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index c35af7c7..8cf3999c 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -88,6 +88,8 @@ oflush(void)
szLastOutput = 0;
}
#endif // DBG_OUTRPT
+
+ fsync(1);
}
void