summaryrefslogtreecommitdiffstats
path: root/src/H5Tcommit.c
diff options
context:
space:
mode:
authorChris Hogan <chogan@hdfgroup.org>2019-11-25 17:39:04 (GMT)
committerChris Hogan <chogan@hdfgroup.org>2019-11-25 17:39:04 (GMT)
commitb8a56718e40efaf6954a760984b9d513dbff8f7d (patch)
tree624698d04c19b704549bec44b8beb3ff36898e14 /src/H5Tcommit.c
parent33d173d672f4affc804cf6e3c43b92693bd3ed68 (diff)
parent4ce9c10c568ff81ebd4eb7585039cbe3c40d1718 (diff)
downloadhdf5-b8a56718e40efaf6954a760984b9d513dbff8f7d.zip
hdf5-b8a56718e40efaf6954a760984b9d513dbff8f7d.tar.gz
hdf5-b8a56718e40efaf6954a760984b9d513dbff8f7d.tar.bz2
Merge pull request #2029 in HDFFV/hdf5 from ~CHOGAN/hdf5:feature/cx_lcpl to develop
* commit '4ce9c10c568ff81ebd4eb7585039cbe3c40d1718': Add documentation for H5CX_get_ohdr_flags Add object header flags to API context Use major error code of calling package Handle H5CX_state_t for lcpl Add character encoding to lcpl context Change LC property name from 'create_intermediate_group' to 'intermediate_group' Use API context to store/retrieve LCPL when creating intermediate groups
Diffstat (limited to 'src/H5Tcommit.c')
-rw-r--r--src/H5Tcommit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Tcommit.c b/src/H5Tcommit.c
index e582995..e5d12c0 100644
--- a/src/H5Tcommit.c
+++ b/src/H5Tcommit.c
@@ -137,6 +137,9 @@ H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id,
if(TRUE != H5P_isa_class(tcpl_id, H5P_DATATYPE_CREATE))
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not datatype 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(&tapl_id, H5P_CLS_TACC, loc_id, TRUE) < 0)
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTSET, FAIL, "can't set access property list info")