summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2006-02-22 19:50:27 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2006-02-22 19:50:27 (GMT)
commit19476ba364051841add6712995709a87d64597e7 (patch)
tree5d2bdb7b90e9171ac72adc622c0415a916caa16a
parente8535af373e198cf1bfc35b5876ea38f52b1d6b6 (diff)
downloadhdf5-19476ba364051841add6712995709a87d64597e7.zip
hdf5-19476ba364051841add6712995709a87d64597e7.tar.gz
hdf5-19476ba364051841add6712995709a87d64597e7.tar.bz2
[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.
-rw-r--r--src/H5Dio.c1
1 files changed, 1 insertions, 0 deletions
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; u<fm->f_ndims; u++)
fm->total_chunks= fm->total_chunks*fm->chunks[u];