diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-02-23 15:34:48 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-02-23 15:35:27 -0800 |
commit | 9f60f37a28c37acb66aa38003ccaa07f13abbd9d (patch) | |
tree | b7fb5360fe4b32fe3ac4cbb6b6f2ca80543822cd /HACKING | |
parent | 85c925ef54348d795e3549d7b01ceb2d57096a50 (diff) | |
download | coreutils-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 'HACKING')
0 files changed, 0 insertions, 0 deletions