bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] getentropy, getrandom: new modules


From: Bruno Haible
Subject: Re: [PATCH] getentropy, getrandom: new modules
Date: Sun, 31 May 2020 20:15:05 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; )

Now that we're done with the 'getrandom' module, a fix and a tweak for
the 'getentropy' module.


2020-05-31  Bruno Haible  <bruno@clisp.org>

        getentropy: Enhance tests.
        * tests/test-getentropy.c (main): Add one more test.
        * tests/test-unistd-c++.cc: Check the signature of getentropy.

2020-05-31  Bruno Haible  <bruno@clisp.org>

        getentropy: Work around a macOS and Solaris problem.
        * lib/unistd.in.h: Include <sys/random.h>, when needed for the
        'getentropy' module.
        * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize
        UNISTD_H_HAVE_SYS_RANDOM_H.
        * m4/sys_random_h.m4 (gl_HEADER_SYS_RANDOM): Set
        UNISTD_H_HAVE_SYS_RANDOM_H.
        * modules/unistd (Makefile.am): Substitute UNISTD_H_HAVE_SYS_RANDOM_H.
        * doc/glibc-functions/getentropy.texi: Document the macOS and Solaris
        problem. List more platforms.

Attachment: 0001-getentropy-Work-around-a-macOS-and-Solaris-problem.patch
Description: Text Data

Attachment: 0002-getentropy-Enhance-tests.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]