summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2009-04-21 11:34:26 -0700
committerSteve Reinhardt <steve.reinhardt@amd.com>2009-04-21 11:34:26 -0700
commit4f7d6a881ce959663cb32f9bb70b4a6b40a456e1 (patch)
treec3b06666964ded6c7c5a2f963936a2e56e134776
parentc370a9cb9884f54a54450c9073555ed53ecdbacc (diff)
downloadgem5-4f7d6a881ce959663cb32f9bb70b4a6b40a456e1.tar.xz
rundiff: flush stdout after each diff
-rwxr-xr-xutil/rundiff4
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();
}