[libvirt] PATCH: 20/25: Import gnulbi random_r module

Jim Meyering jim at meyering.net
Tue Jan 20 11:10:08 UTC 2009


"Daniel P. Berrange" <berrange at redhat.com> wrote:
> Import the gnulib 'random_r' module, which provides a nice
> strong random number generator that is portable across OS.
>
>  bootstrap                    |    1
>  gnulib/lib/.cvsignore        |   12 -
>  gnulib/lib/Makefile.am       |   13 +
>  gnulib/lib/gettimeofday.c    |    5
>  gnulib/lib/ioctl.c           |    1
>  gnulib/lib/poll.c            |    4
>  gnulib/lib/random_r.c        |  420 +++++++++++++++++++++++++++++++++++++++++++
>  gnulib/lib/strerror.c        |  128 ++++++-------
>  gnulib/m4/gnulib-cache.m4    |    3
>  gnulib/m4/gnulib-comp.m4     |    5
>  gnulib/m4/random_r.m4        |   21 ++
>  gnulib/tests/Makefile.am     |    9
>  gnulib/tests/test-random_r.c |   56 +++++
>  13 files changed, 600 insertions(+), 78 deletions(-)
>
> Daniel
>
> diff --git a/bootstrap b/bootstrap
> --- a/bootstrap
> +++ b/bootstrap
> @@ -80,6 +80,7 @@ physmem
>  physmem
>  poll
>  posix-shell
> +random_r
>  recv
>  send
>  setsockopt

ACK.
The above should be the only manual change.
The rest is the result of running ./bootstrap.

Actually, there's one more semi-manual step I usually perform
when .cvsignore files are modified:

  Run "make sync-vcs-ignore-files" to sync the .gitignore files
  from the .cvsignore ones.

The rule is at the bottom of Makefile.maint.




More information about the libvir-list mailing list