Re: [xml] cleanup on randomization - inconsistent in master
- From: Roumen Petrov <bugtrack roumenpetrov info>
- To: libxml <xml gnome org>
- Subject: Re: [xml] cleanup on randomization - inconsistent in master
- Date: Sun, 20 May 2012 11:28:05 +0300
Oops,
Roumen Petrov wrote:
Hi All,
One of recent updates swicth from rand to rand_r but it seems to me
switch is incomplete:
- dict.c - #ifdef HAVE_RAND_R
- libxml.h - +#if defined(HAVE_RAND)
- configure check for rand function but not for rand_r
Please to update configure script and libxml.h header to be consistent.
Post 2.8.0 could implement fail back solution to rand as not all
platforms provide rand_r.
Uh it seems to me I check only commit, and miss that rand_r is used
under condition.
So only check for rand_r is missing in configure script.
Roumen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]