diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-01-03 18:32:49 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-01-03 18:32:49 (GMT) |
commit | c3be99abb19940db24fb3f5ff5fb1a5e78f832e6 (patch) | |
tree | af8410a04760003439f14aef9d3bdc8e90ade27e /src/H5Sall.c | |
parent | a53fbbc0456f2c7b74b01c67ecbe19b833672fc1 (diff) | |
download | hdf5-c3be99abb19940db24fb3f5ff5fb1a5e78f832e6.zip hdf5-c3be99abb19940db24fb3f5ff5fb1a5e78f832e6.tar.gz hdf5-c3be99abb19940db24fb3f5ff5fb1a5e78f832e6.tar.bz2 |
[svn-r3228] Purpose:
Bug fixes
Description:
Fix two bugs:
- Datasets with vlen datatype which were created but not written to
were not being read back in correctly from the file.
- If an existing space conversion path was found for a conversion, it
was possible that the optimized read/write routines would be used
inappropriately.
Solution:
Patched vlen datatype conversion code to correctly handle zero-length
sequences.
Added a check to the space conversion code to make certain that the
optimized conversion routines are still appropriate when an existing
path is found.
Platforms tested:
FreeBSD 4.2 (hawkwind)
Diffstat (limited to 'src/H5Sall.c')
-rw-r--r-- | src/H5Sall.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5Sall.c b/src/H5Sall.c index 4240271..f56e480 100644 --- a/src/H5Sall.c +++ b/src/H5Sall.c @@ -572,6 +572,9 @@ H5S_all_read(H5F_t *f, const H5O_layout_t *layout, const H5O_pline_t *pline, FUNC_ENTER(H5S_all_read, FAIL); *must_convert = TRUE; +#ifdef QAK +printf("%s: check 1.0\n",FUNC); +#endif /* QAK */ /* Check whether we can handle this */ if (H5S_SIMPLE!=mem_space->extent.type) goto fall_through; @@ -674,6 +677,9 @@ H5S_all_read(H5F_t *f, const H5O_layout_t *layout, const H5O_pline_t *pline, file_offset[i] = 0; mem_offset[i] = 0; +#ifdef QAK +printf("%s: check 2.0\n",FUNC); +#endif /* QAK */ /* Read data from the file */ if (H5F_arr_read(f, dxpl_id, layout, pline, NULL, efl, size, size, mem_offset, file_offset, buf/*out*/)<0) { |