rundiff: flush stdout after each diff
authorSteve Reinhardt <steve.reinhardt@amd.com>
Tue, 21 Apr 2009 18:34:26 +0000 (11:34 -0700)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Tue, 21 Apr 2009 18:34:26 +0000 (11:34 -0700)
util/rundiff

index c34bb53a3fc1e9171b16bfae5630ff5549c321d4..cd2527e5437aa424988927b9a3b1210adb57c007 100755 (executable)
@@ -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();
 }