summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2004-12-13 16:59:10 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2004-12-13 16:59:10 (GMT)
commitb06deb532284e6680e1e9bf7237d24049cf62c77 (patch)
treefdf876fd724107a27553ef59dfd1fe836a5440b1 /src
parentd15fc288744bbff3b0905832fe0f0782e3578526 (diff)
downloadhdf5-b06deb532284e6680e1e9bf7237d24049cf62c77.zip
hdf5-b06deb532284e6680e1e9bf7237d24049cf62c77.tar.gz
hdf5-b06deb532284e6680e1e9bf7237d24049cf62c77.tar.bz2
[svn-r9657] Purpose:
small bug fix Description: When checking whether the current chunk covers the irregular hyperslab, the ending point of the chunk is not updated. This will cause the wrong checking output and fail for some irregular hyperslab selection. Solution: Updating the ending point of the chunk. Platforms tested: Linux 2.4 + parallel (too small to use h5committest) Misc. update:
Diffstat (limited to 'src')
-rw-r--r--src/H5Dio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c
index ff8739d..f005781 100644
--- a/src/H5Dio.c
+++ b/src/H5Dio.c
@@ -2802,7 +2802,7 @@ H5D_create_chunk_file_map_hyper(fm_map *fm)
do {
/* Reset current dimension's location to 0 */
coords[curr_dim]=start_coords[curr_dim]; /*lint !e771 The start_coords will always be initialized */
-
+ end[curr_dim]=(coords[curr_dim]+(hssize_t)fm->chunk_dim[curr_dim])-1;
/* Decrement current dimension */
curr_dim--;
@@ -3313,7 +3313,7 @@ H5D_ioinfo_init(H5D_t *dset, const H5D_dxpl_cache_t *dxpl_cache, hid_t dxpl_id,
io_info->ops.write = H5D_mpio_spaces_write;
}
- #ifdef KYANG
+ #ifdef KYANG
else {
io_info->ops.read = H5D_mpio_spaces_span_read;
io_info->ops.write = H5D_mpio_spaces_span_write;