diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2010-12-16 00:03:29 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2010-12-16 00:04:32 -0800 |
commit | f3c584d1e08646704cb46f4e5b6afc4afef3f70a (patch) | |
tree | 7a15e6158943421dca1153c3018d7aa6fdd21c1e /po | |
parent | 33a5de5a0efd73abbb532dbd09f5afd23c511484 (diff) | |
download | coreutils-f3c584d1e08646704cb46f4e5b6afc4afef3f70a.tar.xz |
sort: don't dump core when merging from input twice
* NEWS: Document this.
* src/sort.c (avoid_trashing_input): The previous fix to this
function didn't fix all the problems with this code. Replace it
with something simpler: just copy the input file. This doesn't
change the number of files, so return void instead of the updated
file count. Caller changed.
* tests/misc/sort-merge-fdlimit: Test for the bug.
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions