]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(first_same_file): Remove. Move most of the code to....
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 6 Nov 2004 23:46:47 +0000 (23:46 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 6 Nov 2004 23:46:47 +0000 (23:46 +0000)
commita31bc04af071f876887f732c60bd4a4901c48d7b
tree1dc83761bbefa94a88b0dfa60d63a3512c0f6c0c
parent7d354a128648bc6358ba22d5ca8bd5b8457c1117
(first_same_file): Remove.  Move most of the code to....
(avoid_trashing_input): New function.
(merge): Avoid some silly merges, e.g., copying a single file to
a temporary file when there are exactly 17 input files to merge.
Take a count of temporary files rather than a max_merge arg.
All uses changed.
src/sort.c