[Xorp-cvs] XORP cvs commit: xorp/libxorp
Bruce Simpson
bms@icir.org
Sat, 25 Mar 2006 01:04:25 GMT
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: bms@xorpc.icir.org 2006-03-25 01:04:25 UTC
XORP CVS repository
Modified files:
libxorp timeval.hh
Log message:
Fix a standards compliance bug in TimeVal::random_uniform().
The RAND_MAX manifest constant was erroneously used to mean
the upper bound of the value returned by the random()
function; it is in fact defined only for the rand() function
as per SUSV2.
Verified with 'gmake check' on FreeBSD 6.1-PRERELEASE.
Revision Changes Path
1.26 +3 -3; commitid: 1725e442496d77ea6; xorp/libxorp/timeval.hh