diff options
author | Chris Hogan <chogan@hdfgroup.org> | 2019-10-28 21:24:54 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:17:26 (GMT) |
commit | d4fb9dbc6100d235f93e4803db7a4a10fbc8eeab (patch) | |
tree | 9f8d9c74c3b7994d70ea46f56a1a0a9f01eb1015 /src/H5G.c | |
parent | 49a4f6e64bca3576c90baad4ac92e300e7cea480 (diff) | |
download | hdf5-d4fb9dbc6100d235f93e4803db7a4a10fbc8eeab.zip hdf5-d4fb9dbc6100d235f93e4803db7a4a10fbc8eeab.tar.gz hdf5-d4fb9dbc6100d235f93e4803db7a4a10fbc8eeab.tar.bz2 |
Use API context to store/retrieve LCPL when creating intermediate groups
Diffstat (limited to 'src/H5G.c')
-rw-r--r-- | src/H5G.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -345,6 +345,9 @@ H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, if(TRUE != H5P_isa_class(gcpl_id, H5P_GROUP_CREATE)) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5I_INVALID_HID, "not a group creation property list") + /* Set the LCPL for the API context */ + H5CX_set_lcpl(lcpl_id); + /* Verify access property list and set up collective metadata if appropriate */ if(H5CX_set_apl(&gapl_id, H5P_CLS_GACC, loc_id, TRUE) < 0) HGOTO_ERROR(H5E_SYM, H5E_CANTSET, H5I_INVALID_HID, "can't set access property list info") |