diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-01-06 11:26:01 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-01-06 11:26:01 +0100 |
commit | 2f7964393d6a17e746596918c4a272d0a5009479 (patch) | |
tree | 2657f344337532e2fc060cc49d0ecb74039d5a63 /Python/symtable.c | |
parent | a49a2078e84b594cc42988bf181be7cc5da66f78 (diff) | |
download | cpython-git-2f7964393d6a17e746596918c4a272d0a5009479.tar.gz |
Issue #29157: getrandom() is now preferred over getentropy()
The glibc now implements getentropy() on Linux using the getrandom() syscall.
But getentropy() doesn't support non-blocking mode.
Since getrandom() is tried first, it's not more needed to explicitly exclude
getentropy() on Solaris. Replace:
if defined(HAVE_GETENTROPY) && !defined(sun)
with
if defined(HAVE_GETENTROPY)
Diffstat (limited to 'Python/symtable.c')
0 files changed, 0 insertions, 0 deletions