From: Steve Reinhardt Date: Tue, 21 Apr 2009 18:34:26 +0000 (-0700) Subject: rundiff: flush stdout after each diff X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f7d6a881ce959663cb32f9bb70b4a6b40a456e1;p=gem5.git rundiff: flush stdout after each diff --- 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(); }