summaryrefslogtreecommitdiffstats
path: root/lib/libI77/sfe.c
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1995-09-28 20:49:15 +0000
committerjmz <jmz@FreeBSD.org>1995-09-28 20:49:15 +0000
commit88fe667d3502c54a9143eea7b611ec0362bb639c (patch)
tree2bd4eef14755fc92c0ed2b2ea8abefe3c3081747 /lib/libI77/sfe.c
parent3ebc2913631c7b53207cac9503f0a0141f628900 (diff)
downloadFreeBSD-src-88fe667d3502c54a9143eea7b611ec0362bb639c.zip
FreeBSD-src-88fe667d3502c54a9143eea7b611ec0362bb639c.tar.gz
Update to the 1995/09/20 version. Previous version was 1993/12/17.
Diffstat (limited to 'lib/libI77/sfe.c')
-rw-r--r--lib/libI77/sfe.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/libI77/sfe.c b/lib/libI77/sfe.c
index 6dea23a..eea9078 100644
--- a/lib/libI77/sfe.c
+++ b/lib/libI77/sfe.c
@@ -28,5 +28,15 @@ c_sfe(cilist *a) /* check */
return(0);
}
integer e_wsfe(Void)
-{ return(e_rsfe());
+{
+#ifdef ALWAYS_FLUSH
+ int n;
+ n = en_fio();
+ f__fmtbuf=NULL;
+ if (!n && fflush(f__cf))
+ err(f__elist->cierr, errno, "write end");
+ return n;
+#else
+ return(e_rsfe());
+#endif
}
OpenPOWER on IntegriCloud