[packages/rpm-build-tools] teeboth: buffer 102400 bytes, to make outbut more accurate

glen glen at pld-linux.org
Sat Oct 26 18:31:40 CEST 2013


commit 1c74f9db289e8a46ebed1ced2ecf93dba1633356
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Oct 26 19:30:55 2013 +0300

    teeboth: buffer 102400 bytes, to make outbut more accurate

 teeboth | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/teeboth b/teeboth
index 5c3f5c0..459e0c8 100755
--- 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";
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/1c74f9db289e8a46ebed1ced2ecf93dba1633356



More information about the pld-cvs-commit mailing list