summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2010-12-16 00:03:29 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2010-12-16 00:04:32 -0800
commitf3c584d1e08646704cb46f4e5b6afc4afef3f70a (patch)
tree7a15e6158943421dca1153c3018d7aa6fdd21c1e /NEWS
parent33a5de5a0efd73abbb532dbd09f5afd23c511484 (diff)
downloadcoreutils-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 'NEWS')
-rw-r--r--NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e98b815bc..429a1b76a 100644
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,8 @@ GNU coreutils NEWS -*- outline -*-
sort --compress no longer mishandles subprocesses' exit statuses.
+ sort -m -o f f ... f no longer dumps core when file descriptors are limited.
+
** New features
split accepts the --number option to generate a specific number of files.