rundiff: flush stdout after each diff

This commit is contained in:
Steve Reinhardt 2009-04-21 11:34:26 -07:00
parent c370a9cb98
commit 4f7d6a881c

View file

@ -43,7 +43,7 @@
# #
use strict; use strict;
use FileHandle;
use Getopt::Std; use Getopt::Std;
# #
@ -165,6 +165,8 @@ sub printdiff
# Set $postcontext to print the next $postcontext_lines matching lines. # Set $postcontext to print the next $postcontext_lines matching lines.
$postcontext = $postcontext_lines; $postcontext = $postcontext_lines;
STDOUT->flush();
} }