diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-11-28 04:38:38 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-11-28 04:38:38 (GMT) |
commit | 423f58cc384764964847ffdf757e180dfad07a1e (patch) | |
tree | 579cfd597982647b2749a857090298c60fa522f6 /hl | |
parent | 7209da2410e5ee5826db21e84f9c4667df356e49 (diff) | |
download | hdf5-423f58cc384764964847ffdf757e180dfad07a1e.zip hdf5-423f58cc384764964847ffdf757e180dfad07a1e.tar.gz hdf5-423f58cc384764964847ffdf757e180dfad07a1e.tar.bz2 |
[svn-r9587] Purpose:
Bug fix
Description:
Correct off-by-on error which could cause invalid # of levels to be used
for a skip list node, in rare circumstances.
Change from srandom()/random() to more portable srand()/rand() routines
for random # generation.
Pre-compute the probability factor for computing the level of new nodes,
for a minor speedup.
Platforms tested:
FreeBSD 4.10 (sleipnir)
IRIX64 6.5 (modi4)
Solaris 2.8 (sol)
AIX 5.1(?) (copper)
Diffstat (limited to 'hl')
0 files changed, 0 insertions, 0 deletions