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