Commits

Anonymous committed 3ba1730

fix buffer size

Comments (0)

Files changed (2)

 	return type, size, mtime
 
 def do_cmp(f1, f2): # Compare two files, really
-	bufsize = 8096 # Could be tuned
+	bufsize = 8*1024 # Could be tuned
 	fp1 = open(f1, 'r')
 	fp2 = open(f2, 'r')
 	while 1:
 #
 def do_cmp(f1, f2):
 	#print '    cmp', f1, f2 # XXX remove when debugged
-	bufsize = 8096 # Could be tuned
+	bufsize = 8*1024 # Could be tuned
 	fp1 = open(f1, 'r')
 	fp2 = open(f2, 'r')
 	while 1: