coreutils/gl
Paul Eggert b4ab357e42 maint: use getrandom, not getentropy
This makes for one Gnulib module less, and at runtime there’s
typically just one getrandom syscall instead of several for large
nonces.
* gl/lib/randread.c: Include sys/random.h instead of sys/time.h
and unistd.h.
(get_nonce): Use getrandom, not getentropy.
* gl/modules/randread (Depends-on):
Depend on getrandom, not getentropy.
* src/shred.c (main):
* src/shuf.c (main):
* src/sort.c (random_md5_state_init):
Say "getrandom" rather than "getentropy" in (unlikely) diagnostic.
2020-06-01 15:54:50 -07:00
..
lib maint: use getrandom, not getentropy 2020-06-01 15:54:50 -07:00
modules maint: use getrandom, not getentropy 2020-06-01 15:54:50 -07:00
tests maint: update all copyright year number ranges 2020-01-01 14:16:56 +00:00