summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2013-09-28 20:41:41 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2013-09-28 20:41:41 (GMT)
commit252ed47f9b0333a112a49a5b23a1cc4a5e108b1e (patch)
tree3fed2e1d255671fbe932dfd826925949243cefe7 /c++
parent985d16da9face2a0b5e4a0dffdc1ca41853d844d (diff)
downloadhdf5-252ed47f9b0333a112a49a5b23a1cc4a5e108b1e.zip
hdf5-252ed47f9b0333a112a49a5b23a1cc4a5e108b1e.tar.gz
hdf5-252ed47f9b0333a112a49a5b23a1cc4a5e108b1e.tar.bz2
[svn-r24215] Bug fix: HDFFV-8271 Big.c error in address generated by random number.
Description: There is a bug in the current big.c tests. In a nut-shell, the writing part randomly picks 50 locations and write 4KB from that location. Random location range is from byte 0 to end of dataset. There is the problem--if the random location is greater than (end of dataset - 4KB), then error. Solution: Adjust the random number to be at least 4KB less than the end of the dataset. That allows it write 4KB more from the generated starting position. Also put in a proper error message if unexpected switch values happened. Tested: h5comittest plus jam serial build and test.
Diffstat (limited to 'c++')
0 files changed, 0 insertions, 0 deletions