* src/shuf.c (read_input): Fix an off-by-one error that
authorJim Meyering <jim@meyering.net>
Fri, 29 Sep 2006 16:52:48 +0000 (16:52 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 29 Sep 2006 16:52:48 +0000 (16:52 +0000)
commita38becce9752e67f71e79e8c230b327869802e70
treedfcc3eb484617775b630eb08486ec656d88948c4
parent31c77a2fde27888aead246cde6eb88724450e5e1
* src/shuf.c (read_input): Fix an off-by-one error that
would cause an infloop for piped input of 8KB or more.
* NEWS: Mention the fix.
* tests/misc/shuf: Test for the above fix.
ChangeLog
NEWS
src/shuf.c
tests/misc/shuf