summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-02-23 15:34:48 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2014-02-23 15:35:27 -0800
commit9f60f37a28c37acb66aa38003ccaa07f13abbd9d (patch)
treeb7fb5360fe4b32fe3ac4cbb6b6f2ca80543822cd /NEWS
parent85c925ef54348d795e3549d7b01ceb2d57096a50 (diff)
downloadcoreutils-9f60f37a28c37acb66aa38003ccaa07f13abbd9d.tar.xz
shuf: with -r, don't dump core if the input is empty
Problem reported by valiant xiao in <http://bugs.gnu.org/16855>. * NEWS: Document this. * src/shuf.c (main): With -r, report an error if the input is empty. * tests/misc/shuf.sh: Test for the bug.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e72942b10..2df246d49 100644
--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,9 @@ GNU coreutils NEWS -*- outline -*-
it would display an error, requiring --no-dereference to avoid the issue.
[bug introduced in coreutils-5.3.0]
+ shuf -r no longer dumps core if the input is empty.
+ [bug introduced in coreutils-8.22]
+
** New features
od accepts a new option: --endian=TYPE to handle inputs with different byte