From 9f60f37a28c37acb66aa38003ccaa07f13abbd9d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 23 Feb 2014 15:34:48 -0800 Subject: shuf: with -r, don't dump core if the input is empty Problem reported by valiant xiao in . * 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. --- NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NEWS') 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 -- cgit v1.2.3-54-g00ecf