Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 01/19/2001 12:50:32
Module Name:	basesrc
Committed By:	jdolecek
Date:		Fri Jan 19 10:50:32 UTC 2001

Modified Files:
	basesrc/usr.bin/sort: msort.c

Log Message:
merge(): use array of buffers instead of one big buffer for all records, and
	enlarge them as necessary to read records from merged files; the buffers
	are allocated once per program run, so there shouldn't be any
	performance difference
This makes sort(1) pass also regression 40B and should make it
fully arbitrary long record capable.
XXX the buffer array could probably be freed on end of fmerge() to save memory


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

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