From b06deb532284e6680e1e9bf7237d24049cf62c77 Mon Sep 17 00:00:00 2001 From: MuQun Yang Date: Mon, 13 Dec 2004 11:59:10 -0500 Subject: [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: --- src/H5Dio.c | 4 ++-- 1 file 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; -- cgit v0.12