Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2007 16:53:09 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 125784 for review
Message-ID:  <200708281653.l7SGr9u1004454@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

http://perforce.freebsd.org/chv.cgi?CH=125784

Change 125784 by rwatson@rwatson_fledge on 2007/08/28 16:52:11

	Call fflush(3) on stdout after each record so that pipelines move a
	bit more promptly.
	
	Reported by:	Vladimir Ermakov

Affected files ...

.. //depot/projects/trustedbsd/openbsm/bin/praudit/praudit.c#12 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/bin/praudit/praudit.c#12 (text+ko) ====

@@ -27,7 +27,7 @@
  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/praudit/praudit.c#11 $
+ * $P4: //depot/projects/trustedbsd/openbsm/bin/praudit/praudit.c#12 $
  */
 
 /*
@@ -107,6 +107,7 @@
 		free(buf);
 		if (oneline)
 			printf("\n");
+		fflush(stdout);
 	}
 	return (0);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708281653.l7SGr9u1004454>