diff options
author | mouse <mouse@NetBSD.org> | 2007-04-22 02:09:02 +0000 |
---|---|---|
committer | mouse <mouse@NetBSD.org> | 2007-04-22 02:09:02 +0000 |
commit | fb7a11c3477131517fdc1317620d26017958de24 (patch) | |
tree | d11af5a80872794b311a5499f493044e5ab2218e /larn/io.c | |
parent | 52e7dc6b7fcbd7176395dd3d7285f419a094c0da (diff) | |
download | bsdgames-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.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |