diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2009-04-21 11:34:26 -0700 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2009-04-21 11:34:26 -0700 |
commit | 4f7d6a881ce959663cb32f9bb70b4a6b40a456e1 (patch) | |
tree | c3b06666964ded6c7c5a2f963936a2e56e134776 /util/rundiff | |
parent | c370a9cb9884f54a54450c9073555ed53ecdbacc (diff) | |
download | gem5-4f7d6a881ce959663cb32f9bb70b4a6b40a456e1.tar.xz |
rundiff: flush stdout after each diff
Diffstat (limited to 'util/rundiff')
-rwxr-xr-x | util/rundiff | 4 |
1 files changed, 3 insertions, 1 deletions
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(); } |