Remove buffering of test output by making stack fixers not buffer their standard output. (Bug 510014)

This commit is contained in:
L. David Baron 2009-08-12 15:20:52 -07:00
parent 7b4a2bb63d
commit 86b1e0bafb
2 changed files with 2 additions and 0 deletions

View File

@ -243,6 +243,7 @@ sub addr2line_pipe($) {
return $pipe;
}
select STDOUT; $| = 1; # make STDOUT unbuffered
while (<>) {
my $line = $_;
if ($line =~ /^([ \|0-9-]*)(.*) ?\[([^ ]*) \+(0x[0-9A-F]{1,8})\](.*)$/) {

View File

@ -219,6 +219,7 @@ sub nm_lookup($$) {
};
}
select STDOUT; $| = 1; # make STDOUT unbuffered
while (<>) {
my $line = $_;
if ($line =~ /^([ \|0-9-]*)(.*) ?\[([^ ]*) \+(0x[0-9A-F]{1,8})\](.*)$/) {