From 19476ba364051841add6712995709a87d64597e7 Mon Sep 17 00:00:00 2001 From: MuQun Yang Date: Wed, 22 Feb 2006 14:50:27 -0500 Subject: [svn-r11963] Purpose: bug fix for daily test Description: if (fm->select_chunk) is not NULL at sequential mode and not set by the library, it shouldn't be free. Otherwise, it will cause failures in the daily test. Solution: Explicitly set (fm->select_chunk) to NULL for non-parallel case. Platforms tested: copper with parallel heping with both sequential and parallel shanti with sequential Misc. update: Hopefully only mir failed at daily test. --- src/H5Dio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/H5Dio.c b/src/H5Dio.c index a6a3793..f5513f0 100644 --- a/src/H5Dio.c +++ b/src/H5Dio.c @@ -2186,6 +2186,7 @@ H5D_create_chunk_map(const H5D_t *dataset, const H5T_t *mem_type, const H5S_t *f HGOTO_ERROR (H5E_INTERNAL, H5E_BADVALUE, FAIL, "can't compute 'down' sizes") /* calculate total chunk in file map*/ + fm->select_chunk = NULL; fm->total_chunks = 1; for(u=0; uf_ndims; u++) fm->total_chunks= fm->total_chunks*fm->chunks[u]; -- cgit v0.12