summaryrefslogtreecommitdiffstats
path: root/src/H5Spoint.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-04-23 21:11:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-04-23 21:11:27 (GMT)
commitacbad9533eb3bba58a9c33c27a7435ae33c72e36 (patch)
tree221d4eabf44876a065c406f7355936452164656d /src/H5Spoint.c
parentdaf4ab55869c71b69a4764bd5947ba230d5da0da (diff)
downloadhdf5-acbad9533eb3bba58a9c33c27a7435ae33c72e36.zip
hdf5-acbad9533eb3bba58a9c33c27a7435ae33c72e36.tar.gz
hdf5-acbad9533eb3bba58a9c33c27a7435ae33c72e36.tar.bz2
[svn-r1210] Changed parameters for function calls which figure out the buffer size for
H5Dread/H5Dwrite to use to allow the I/O calls to break up a user's buffer into pieces that are at least as large as the sequence of bytes being written in the fastest changing dimension. Also fixed a hard-to-find bug in the hyperslab I/O routines which could cause data to be corrupted when writing out fields to compound datatype data with background preservation turned on and hyperslabs which were large enough to require two I/O passes on a hyperslab block. A pretty obscure situation, but it would be worthwhile for users to upgrade to this code in order to be certain that correct data is being written.
Diffstat (limited to 'src/H5Spoint.c')
-rw-r--r--src/H5Spoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Spoint.c b/src/H5Spoint.c
index a58461b..7d8672a 100644
--- a/src/H5Spoint.c
+++ b/src/H5Spoint.c
@@ -20,7 +20,7 @@
static intn interface_initialize_g = 0;
static herr_t H5S_point_init (const struct H5O_layout_t *layout,
- const H5S_t *space, H5S_sel_iter_t *iter);
+ const H5S_t *space, H5S_sel_iter_t *iter, size_t *min_elem_out);
static size_t H5S_point_favail (const H5S_t *space, const H5S_sel_iter_t *iter,
size_t max);
static size_t H5S_point_fgath (H5F_t *f, const struct H5O_layout_t *layout,
@@ -83,7 +83,7 @@ const H5S_mconv_t H5S_POINT_MCONV[1] = {{
*/
static herr_t
H5S_point_init (const struct H5O_layout_t UNUSED *layout,
- const H5S_t *space, H5S_sel_iter_t *sel_iter)
+ const H5S_t *space, H5S_sel_iter_t *sel_iter, size_t *min_elem_out)
{
FUNC_ENTER (H5S_point_init, FAIL);