summaryrefslogtreecommitdiffstats
path: root/src/H5Dpkg.h
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2008-09-22 23:41:58 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2008-09-22 23:41:58 (GMT)
commitcf451beffa0cc2df12b23bf6f5f37a702a88fb21 (patch)
treeabb4a6e2739e5386f5fdc71c3a34d6b7a660b4c0 /src/H5Dpkg.h
parent299ebc0d7f73620b7f9c793da9dbdd21e2df94f9 (diff)
downloadhdf5-cf451beffa0cc2df12b23bf6f5f37a702a88fb21.zip
hdf5-cf451beffa0cc2df12b23bf6f5f37a702a88fb21.tar.gz
hdf5-cf451beffa0cc2df12b23bf6f5f37a702a88fb21.tar.bz2
[svn-r15683] Purpose: fix bug 1298
Description: The optimized "subset" compound conversion function would improperly copy the "blank" space at the end of compound types. Modified H5T_conv_struct_init to detect when the subset type has extra space at the end, and calculate the size of the data that should be copied into the conversion buffer for each element. Changes to the functions that implement these conversions. Tested: kagiso, linew, smirom (h5committest)
Diffstat (limited to 'src/H5Dpkg.h')
-rw-r--r--src/H5Dpkg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dpkg.h b/src/H5Dpkg.h
index 9f02dbc..f6732ff 100644
--- a/src/H5Dpkg.h
+++ b/src/H5Dpkg.h
@@ -86,7 +86,7 @@ typedef struct H5D_type_info_t {
size_t max_type_size; /* Size of largest source/destination type */
hbool_t is_conv_noop; /* Whether the type conversion is a NOOP */
hbool_t is_xform_noop; /* Whether the data transform is a NOOP */
- H5T_subset_t cmpd_subset; /* Whether (and which) the source/destination datatypes are compound subsets of one another */
+ const H5T_subset_info_t *cmpd_subset; /* Info related to the compound subset conversion functions */
H5T_bkg_t need_bkg; /* Type of background buf needed */
size_t request_nelmts; /* Requested strip mine */
uint8_t *tconv_buf; /* Datatype conv buffer */