date and time created 83/02/11 15:44:33 by rrh
[unix-history] / usr / src / usr.bin / ex / ex_unix.c
index 416ff26..af10366 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright (c) 1979 Regents of the University of California */
 /* Copyright (c) 1979 Regents of the University of California */
-static char *sccsid = "@(#)ex_unix.c   6.1 %G%";
+static char *sccsid = "@(#)ex_unix.c   6.1 10/18/80";
 #include "ex.h"
 #include "ex_temp.h"
 #include "ex_tty.h"
 #include "ex.h"
 #include "ex_temp.h"
 #include "ex_tty.h"
@@ -232,7 +232,7 @@ filter(mode)
        register int mode;
 {
        static int pvec[2];
        register int mode;
 {
        static int pvec[2];
-       register ttymode f;
+       ttymode f;      /* mjm: was register */
        register int lines = lineDOL();
 
        mode++;
        register int lines = lineDOL();
 
        mode++;
@@ -251,7 +251,7 @@ filter(mode)
                        setrupt();
                        io = pvec[1];
                        close(pvec[0]);
                        setrupt();
                        io = pvec[1];
                        close(pvec[0]);
-                       putfile();
+                       putfile(1);
                        exit(0);
                }
                close(pvec[1]);
                        exit(0);
                }
                close(pvec[1]);