[projects/cleanbuild] increase teeboth buffer to 100k

glen glen at pld-linux.org
Sat Oct 3 10:23:28 CEST 2015


commit 829e8e55c81a491e60f66cf9fbfdc19069556169
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Oct 3 11:23:09 2015 +0300

    increase teeboth buffer to 100k

 teeboth | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/teeboth b/teeboth
index b30e92c..6054118 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 ( $h == \*child_err ) {
 			print "\033[31m$_\033[0m";
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/829e8e55c81a491e60f66cf9fbfdc19069556169



More information about the pld-cvs-commit mailing list