From 4f7d6a881ce959663cb32f9bb70b4a6b40a456e1 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Tue, 21 Apr 2009 11:34:26 -0700 Subject: [PATCH] rundiff: flush stdout after each diff --- util/rundiff | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/util/rundiff b/util/rundiff index c34bb53a3..cd2527e54 100755 --- a/util/rundiff +++ b/util/rundiff @@ -43,7 +43,7 @@ # use strict; - +use FileHandle; use Getopt::Std; # @@ -165,6 +165,8 @@ sub printdiff # Set $postcontext to print the next $postcontext_lines matching lines. $postcontext = $postcontext_lines; + + STDOUT->flush(); } -- 2.30.2