]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
teeboth: buffer 102400 bytes, to make outbut more accurate
authorElan Ruusamäe <glen@delfi.ee>
Sat, 26 Oct 2013 16:30:55 +0000 (19:30 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 26 Oct 2013 16:30:55 +0000 (19:30 +0300)
teeboth

diff --git a/teeboth b/teeboth
index 5c3f5c04e35ba1a74479e8a23e90e418dfb8c487..459e0c888e4b1b563bfe10a844fd72ed4bad723a 100755 (executable)
--- a/teeboth
+++ b/teeboth
@@ -53,7 +53,7 @@ sethandle( \*child_err );
 
 while ( $alive ) {
        foreach my $h ( $select->can_read() ) {
-               sysread $h, $_, 1024;
+               sysread $h, $_, 102400;
                print $fout $_ if $fout;
                if ( $interactive && $h == \*child_err ) {
                        print "\033[31m$_\033[0m";
This page took 0.096168 seconds and 4 git commands to generate.