Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 05/15/2001 00:45:20
Module Name:	basesrc
Committed By:	jdolecek
Date:		Mon May 14 21:45:20 UTC 2001

Modified Files:
	basesrc/usr.bin/sort: fsort.c fsort.h

Log Message:
Bump the initial record buffer size to 1MB and allow it to grow to 8MB,
if needed and record count is within bounds (<MAXNUM), rather than
sorting the input by 64KB chunks. This cuts the number of needed
temporary files considerably (and improves performance, too).
Slighly adjust some #defines, mostly to power of 2 values.

This addresses bin/12673 and bin/12614, as well as complains from other
people.


To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 basesrc/usr.bin/sort/fsort.c
cvs rdiff -r1.8 -r1.9 basesrc/usr.bin/sort/fsort.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.