[xml] cleanup on randomization - inconsistent in master
- From: Roumen Petrov <bugtrack roumenpetrov info>
- To: libxml <xml gnome org>
- Subject: [xml] cleanup on randomization - inconsistent in master
- Date: Sun, 20 May 2012 10:55:14 +0300
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.
Roumen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]