summaryrefslogtreecommitdiffstats
path: root/larn/io.c
diff options
context:
space:
mode:
authormouse <mouse@NetBSD.org>2007-04-22 02:09:02 +0000
committermouse <mouse@NetBSD.org>2007-04-22 02:09:02 +0000
commitfb7a11c3477131517fdc1317620d26017958de24 (patch)
treed11af5a80872794b311a5499f493044e5ab2218e /larn/io.c
parent52e7dc6b7fcbd7176395dd3d7285f419a094c0da (diff)
downloadbsdgames-darwin-fb7a11c3477131517fdc1317620d26017958de24.tar.gz
bsdgames-darwin-fb7a11c3477131517fdc1317620d26017958de24.tar.zst
bsdgames-darwin-fb7a11c3477131517fdc1317620d26017958de24.zip
Per PR 36185, OKed by martin@
Diffstat (limited to 'larn/io.c')
-rw-r--r--larn/io.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/larn/io.c b/larn/io.c
index e7446e67..cfac1054 100644
--- a/larn/io.c
+++ b/larn/io.c
@@ -1,4 +1,4 @@
-/* $NetBSD: io.c,v 1.16 2006/05/11 10:23:24 mrg Exp $ */
+/* $NetBSD: io.c,v 1.17 2007/04/22 02:09:02 mouse Exp $ */
/*
* io.c Larn is copyrighted 1986 by Noah Morgan.
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: io.c,v 1.16 2006/05/11 10:23:24 mrg Exp $");
+__RCSID("$NetBSD: io.c,v 1.17 2007/04/22 02:09:02 mouse Exp $");
#endif /* not lint */
#include "header.h"
@@ -572,6 +572,7 @@ int
lcreat(str)
char *str;
{
+ lflush();
lpnt = lpbuf;
lpend = lpbuf + BUFBIG;
if (str == NULL)