diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-02-14 15:30:09 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-02-14 15:30:09 (GMT) |
commit | b63cdf8c0cd91f327ac80d54c35e2631edb12632 (patch) | |
tree | 590a0d837d4dae4839f302d403d361a10db5a722 /src/H5D.c | |
parent | 3cc307e7a5af67f0890ff652743b6bd7f6466535 (diff) | |
download | hdf5-b63cdf8c0cd91f327ac80d54c35e2631edb12632.zip hdf5-b63cdf8c0cd91f327ac80d54c35e2631edb12632.tar.gz hdf5-b63cdf8c0cd91f327ac80d54c35e2631edb12632.tar.bz2 |
[svn-r4961] Purpose:
Bug Fix
Description:
If a non-zero fill-value is used for a chunked dataset, any non-existent
chunked read with an "all" selection (or a contiguous hyperslab selection)
will return zero for those instead of the user's fill-value.
Solution:
Fixed I/O code to pass down fill-value to "optimized" I/O routines, so it
will be available to fill the user's buffer with.
Platforms tested:
FreeBSD 4.5 (sleipnir)
Diffstat (limited to 'src/H5D.c')
-rw-r--r-- | src/H5D.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1712,6 +1712,7 @@ printf("%s: check 1.1, \n",FUNC); #endif status = (sconv->read)(dataset->ent.file, &(dataset->layout), &(dataset->create_parms->pline), + &(dataset->create_parms->fill), &(dataset->create_parms->efl), H5T_get_size (dataset->type), file_space, mem_space, dxpl_id, buf/*out*/, @@ -2194,6 +2195,7 @@ H5D_write(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space, #endif status = (sconv->write)(dataset->ent.file, &(dataset->layout), &(dataset->create_parms->pline), + &(dataset->create_parms->fill), &(dataset->create_parms->efl), H5T_get_size (dataset->type), file_space, mem_space, dxpl_id, buf, &must_convert/*out*/); |