diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-05 20:53:08 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-05 20:53:08 +0000 |
commit | 1f4715e0e8d5e1bb071e2ecd6e60b68603460fd7 (patch) | |
tree | e5630790434b1a576ca51c2b204a0632bc9f401f /tests/expr/Makefile.in | |
parent | 098a0f56ca1c6c3b89e48e42fcb4900b3fab58bd (diff) | |
download | coreutils-1f4715e0e8d5e1bb071e2ecd6e60b68603460fd7.tar.xz |
Don't ignore -S if input is a pipe. Bug report by Michael McFarland in
<http://mail.gnu.org/archive/html/bug-coreutils/2003-09/msg00008.html>.
(sort_buffer_size): Omit SIZE_BOUND arg. Compute the
size_bound ourselves. if an input file is a pipe and the user
specified a size, use that size instead of trying to guess the
pipe size. This has the beneficial side effect of avoiding the
overhead of default_sort_size in that case. All callers changed.
(sort): Remove static var size; now done by sort_buffer_size.
Diffstat (limited to 'tests/expr/Makefile.in')
0 files changed, 0 insertions, 0 deletions