summaryrefslogtreecommitdiffstats
path: root/src/H5Sall.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-03-18 21:53:49 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-03-18 21:53:49 (GMT)
commit4cfe53284bb6c3f7f57ff70af6ceb7396683aaa4 (patch)
treea9660134778d77babb6adb93286015836044ddb5 /src/H5Sall.c
parent424826d0dd492cb734e166b7154e2db456f6a13a (diff)
downloadhdf5-4cfe53284bb6c3f7f57ff70af6ceb7396683aaa4.zip
hdf5-4cfe53284bb6c3f7f57ff70af6ceb7396683aaa4.tar.gz
hdf5-4cfe53284bb6c3f7f57ff70af6ceb7396683aaa4.tar.bz2
[svn-r26476] Add support for I/O in all cases with fixed size datasets and no point
selections. Add source dataspace extent patching (should allow closing the source file). Note fill values and various other features are not yet supported. Note there are still some code coverage assertions in the selection matching algorithm - if you hit these try taking them out. Note make check still fails in h5dump test (unrelated to this checkin). Tested: ummon
Diffstat (limited to 'src/H5Sall.c')
-rw-r--r--src/H5Sall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Sall.c b/src/H5Sall.c
index 1105915..bbb2935 100644
--- a/src/H5Sall.c
+++ b/src/H5Sall.c
@@ -976,6 +976,7 @@ H5S_all_get_seq_list(const H5S_t UNUSED *space, unsigned UNUSED flags, H5S_sel_i
/* Determine the actual number of elements to use */
H5_CHECK_OVERFLOW(iter->elmt_left,hsize_t,size_t);
elem_used=MIN(maxelem,(size_t)iter->elmt_left);
+ HDassert(elem_used > 0);
/* Compute the offset in the dataset */
off[0]=iter->u.all.byte_offset;