diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2017-12-13 14:41:41 (GMT) |
---|---|---|
committer | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2017-12-13 14:41:41 (GMT) |
commit | 23003990cc034b3ace8c1452aaa1fb1cadbddf51 (patch) | |
tree | a26540776f275ed19559ce7859e210f41e5ee0c2 /src/H5Fint.c | |
parent | 27c8aafd4f036f0d7e72066a90837451c0a1b78d (diff) | |
parent | 4f37d8e538a95a1081649b3d257b185455bad8c0 (diff) | |
download | hdf5-23003990cc034b3ace8c1452aaa1fb1cadbddf51.zip hdf5-23003990cc034b3ace8c1452aaa1fb1cadbddf51.tar.gz hdf5-23003990cc034b3ace8c1452aaa1fb1cadbddf51.tar.bz2 |
Merge pull request #824 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10 to hdf5_1_10
* commit '4f37d8e538a95a1081649b3d257b185455bad8c0': (44 commits)
HDFFV-10223 Shared libraries fail test on OSX with fortran enabled with cmake
removed duplicate exports of DS subroutines
removed duplicate exports of DS subroutines
Normalization with VOL integration branch.
clean-up
moved dll export to Module
Fixed typo.
removed parameters
added missing parameter
added missing parameter
removed duplicate exports of DS subroutines
removed fortran comments
Various code cleanup Description: - Replaced H5Location::exists with H5Location::nameExists and marked H5Location::exists as deprecated. - Miscellaneous test cleanup for consistency. Platforms tested: Linux/32 2.6 (jam) Linux/64 (jelly) Darwin (osx1010test)
exported global variables for windows
Fixed an incorrect FUNC_ENTER macro.
Normalization with VOL integration branch.
Normalization with VOL integration branch.
export var.
initialized integer constants
Update macros
...
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r-- | src/H5Fint.c | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c index 7b8fdf7..65b8afb 100644 --- a/src/H5Fint.c +++ b/src/H5Fint.c @@ -409,39 +409,39 @@ H5F_get_objects_cb(void *obj_ptr, hid_t obj_id, void *key) H5O_loc_t *oloc; /* Group entry info for object */ switch(olist->obj_type) { - case H5I_ATTR: - oloc = H5A_oloc((H5A_t *)obj_ptr); - break; - - case H5I_GROUP: - oloc = H5G_oloc((H5G_t *)obj_ptr); - break; - - case H5I_DATASET: - oloc = H5D_oloc((H5D_t *)obj_ptr); - break; - - case H5I_DATATYPE: - if(H5T_is_named((H5T_t*)obj_ptr)==TRUE) - oloc = H5T_oloc((H5T_t*)obj_ptr); - else - oloc = NULL; - break; - - case H5I_UNINIT: - case H5I_BADID: - case H5I_FILE: - case H5I_DATASPACE: - case H5I_REFERENCE: - case H5I_VFL: - case H5I_GENPROP_CLS: - case H5I_GENPROP_LST: - case H5I_ERROR_CLASS: - case H5I_ERROR_MSG: - case H5I_ERROR_STACK: - case H5I_NTYPES: + case H5I_ATTR: + oloc = H5A_oloc((H5A_t *)obj_ptr); + break; + + case H5I_GROUP: + oloc = H5G_oloc((H5G_t *)obj_ptr); + break; + + case H5I_DATASET: + oloc = H5D_oloc((H5D_t *)obj_ptr); + break; + + case H5I_DATATYPE: + if(H5T_is_named((H5T_t*)obj_ptr)==TRUE) + oloc = H5T_oloc((H5T_t*)obj_ptr); + else + oloc = NULL; + break; + + case H5I_UNINIT: + case H5I_BADID: + case H5I_FILE: + case H5I_DATASPACE: + case H5I_REFERENCE: + case H5I_VFL: + case H5I_GENPROP_CLS: + case H5I_GENPROP_LST: + case H5I_ERROR_CLASS: + case H5I_ERROR_MSG: + case H5I_ERROR_STACK: + case H5I_NTYPES: default: - HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5_ITER_ERROR, "unknown data object") + HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5_ITER_ERROR, "unknown or invalid data object") } /* end switch */ if((olist->file_info.local && @@ -1574,7 +1574,7 @@ H5F__flush_phase2(H5F_t *f, hid_t meta_dxpl_id, hid_t raw_dxpl_id, hbool_t closi * * Purpose: Flushes cached data. * - * Return: Non-negative on success/Negative on failure + * Return: SUCCEED/FAIL *------------------------------------------------------------------------- */ herr_t |