rundiff: flush stdout after each diff
This commit is contained in:
parent
c370a9cb98
commit
4f7d6a881c
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue