[Bug 9971] shuf implementation does not correctly implement algorithm chosen

bugzilla at busybox.net bugzilla at busybox.net
Tue Jun 20 11:51:43 UTC 2017


https://bugs.busybox.net/show_bug.cgi?id=9971

--- Comment #1 from Ralph Siemsen <ralphs at netwinder.org> ---
I did a quick test with shuf.c line 56 changed to:

    r %= i+1;

and it seems to solve the problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list