]> git.ipfire.org Git - thirdparty/coreutils.git/commit
shred,sort,shuf: don't use /dev/urandom by default
authorPádraig Brady <P@draigBrady.com>
Mon, 6 Apr 2009 07:42:15 +0000 (08:42 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 7 Apr 2009 18:01:46 +0000 (19:01 +0100)
commitaf5723c71e3efbfe60266162ebb5d07b45d72725
tree0e4d0dfce546753ff8c0e749da14a6ba3a26a3b4
parent9fdf5845fc87135c4f68bce79f72a25d07130240
shred,sort,shuf: don't use /dev/urandom by default

Suggestion from Steven Schveighoffer at:
http://savannah.gnu.org/patch/?6797
to greatly speed up the random passes done by shred.
* gl/lib/randread.c: Default to using the internal
pseudorandom generator, rather than reading /dev/urandom
* src/shred.c (usage): remove mention of /dev/urandom
* src/shuf.c (usage); ditto
* src/sort.c (usage): ditto
* doc/coreutils.text: Document the new behaviour
for aquiring random data.
NEWS
THANKS
doc/coreutils.texi
gl/lib/randread.c
src/shred.c
src/shuf.c
src/sort.c