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

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

 



On Tue, Jan 13, 2009 at 05:47:03PM +0000, Daniel P. Berrange 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 ++++++-------

> diff --git a/gnulib/lib/strerror.c b/gnulib/lib/strerror.c
> --- a/gnulib/lib/strerror.c
> +++ b/gnulib/lib/strerror.c
> @@ -45,89 +45,89 @@ rpl_strerror (int n)
>      {
>  # if GNULIB_defined_ETXTBSY
>      case ETXTBSY:
> -      return (char*)"Text file busy";
> +      return "Text file busy";
>  # endif
>  
>  # if GNULIB_defined_ESOCK /* native Windows platforms */
>      /* EWOULDBLOCK is the same as EAGAIN.  */
>      case EINPROGRESS:
> -      return (char*)"Operation now in progress";
> +      return "Operation now in progress";

Reverts an earlier change?

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]