Document that "sort -m -o F" might write F before reading all the input.

This commit is contained in:
Jim Meyering 2004-05-14 07:33:48 +00:00
parent eed02be1b6
commit f64a45d112

6
NEWS
View File

@ -20,6 +20,12 @@ GNU coreutils NEWS -*- outline -*-
** New features
For efficiency, `sort -m' no longer copies input to a temporary file
merely because the input happens to come from a pipe. As a result,
some relatively-contrived examples like `cat F | sort -m -o F - G'
are no longer safe, as `sort' might start writing F before `cat' is
done reading it. This problem cannot occur unless `-m' is used.
pwd now works even when run from a working directory whose name
is longer than PATH_MAX.