diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-03-26 20:47:38 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-03-26 20:47:38 (GMT) |
commit | 04b257f380589c9136005695921bafdb5aa940fc (patch) | |
tree | 678709568728b1b6559b366c75ed6ac9a99bc1be /src/H5D.c | |
parent | 53f19d479479ca9098bbb02d1fee2e471a23ce81 (diff) | |
download | hdf5-04b257f380589c9136005695921bafdb5aa940fc.zip hdf5-04b257f380589c9136005695921bafdb5aa940fc.tar.gz hdf5-04b257f380589c9136005695921bafdb5aa940fc.tar.bz2 |
[svn-r22151] - object lookup returns the haddr_t
- make the VL implementation for all variations of H5Oopen, H5Oget_info, H5Gget_info common, by looking up the object location first.
Diffstat (limited to 'src/H5D.c')
-rw-r--r-- | src/H5D.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -725,8 +725,8 @@ H5Dvlen_get_buf_size(hid_t dataset_id, hid_t type_id, hid_t space_id, H5TRACE4("e", "iii*h", dataset_id, type_id, space_id, size); /* Check args */ - if(H5I_DATASET != H5I_get_type(dataset_id) || - H5I_DATATYPE != H5I_get_type(type_id) || size == NULL) + if(H5I_DATASET_PUBLIC != H5I_get_type(dataset_id) || + H5I_DATATYPE != H5I_get_type(type_id) || size == NULL) HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid argument") if(NULL == (space = (H5S_t *)H5I_object_verify(space_id, H5I_DATASPACE))) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "invalid dataspace") |