BSD 4_2 release
[unix-history] / usr / src / ucb / ex / ex_io.c
index dfaed11..61e5dfc 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright (c) 1981 Regents of the University of California */
 /* Copyright (c) 1981 Regents of the University of California */
-static char *sccsid = "@(#)ex_io.c     7.4     10/31/81";
+static char *sccsid = "@(#)ex_io.c     7.6     7/30/83";
 #include "ex.h"
 #include "ex_argv.h"
 #include "ex_temp.h"
 #include "ex.h"
 #include "ex_argv.h"
 #include "ex_temp.h"
@@ -463,13 +463,6 @@ other:
                        vreplace(0, LINES, lineDOL());
                }
        }
                        vreplace(0, LINES, lineDOL());
                }
        }
-       if (laste) {
-#ifdef VMUNIX
-               tlaste();
-#endif
-               laste = 0;
-               sync();
-       }
 }
 
 /*
 }
 
 /*
@@ -823,6 +816,7 @@ clrstats()
 iostats()
 {
 
 iostats()
 {
 
+       (void) fsync(io);
        close(io);
        io = -1;
        if (hush == 0) {
        close(io);
        io = -1;
        if (hush == 0) {