From f64a45d11280dab075ce04344375e39a15f86602 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 14 May 2004 07:33:48 +0000 Subject: Document that "sort -m -o F" might write F before reading all the input. --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 14c73cb4e..54248a23c 100644 --- a/NEWS +++ b/NEWS @@ -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. -- cgit v1.2.3-54-g00ecf