always flush out2
authorMarc Teitelbaum <marc@ucbvax.Berkeley.EDU>
Thu, 16 Jul 1992 00:12:34 +0000 (16:12 -0800)
committerMarc Teitelbaum <marc@ucbvax.Berkeley.EDU>
Thu, 16 Jul 1992 00:12:34 +0000 (16:12 -0800)
SCCS-vsn: bin/sh/output.c 5.3

usr/src/bin/sh/output.c

index 3cf54e5..38bc0a0 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)output.c   5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)output.c   5.3 (Berkeley) %G%";
 #endif /* not lint */
 
 /*
 #endif /* not lint */
 
 /*
@@ -110,6 +110,8 @@ outstr(p, file)
        {
        while (*p)
                outc(*p++, file);
        {
        while (*p)
                outc(*p++, file);
+       if (file == out2)
+               flushout(file);
 }
 
 
 }