diff options
author | Chris Hogan <chogan@hdfgroup.org> | 2019-10-28 21:24:54 (GMT) |
---|---|---|
committer | Chris Hogan <chogan@hdfgroup.org> | 2019-11-27 15:36:58 (GMT) |
commit | 3aedc32b1c0eb5c883665ce42e07249f106d3403 (patch) | |
tree | baae04b6513ad2ccd177eeebff4da1f1e9241b1b /src/H5Ocopy.c | |
parent | 4c1aca327204b6a30a1568cc5b47bb9e98f09087 (diff) | |
download | hdf5-3aedc32b1c0eb5c883665ce42e07249f106d3403.zip hdf5-3aedc32b1c0eb5c883665ce42e07249f106d3403.tar.gz hdf5-3aedc32b1c0eb5c883665ce42e07249f106d3403.tar.bz2 |
Use API context to store/retrieve LCPL and DCPL properties
Adding changes from PR 2029 to 1.12 branch.
Diffstat (limited to 'src/H5Ocopy.c')
-rw-r--r-- | src/H5Ocopy.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Ocopy.c b/src/H5Ocopy.c index 6e0db25..55013c9 100644 --- a/src/H5Ocopy.c +++ b/src/H5Ocopy.c @@ -227,6 +227,9 @@ H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, if(TRUE != H5P_isa_class(ocpypl_id, H5P_OBJECT_COPY)) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not object copy property list") + /* Set the LCPL for the API context */ + H5CX_set_lcpl(lcpl_id); + /* Set up collective metadata if appropriate */ if(H5CX_set_loc(src_loc_id) < 0) HGOTO_ERROR(H5E_OHDR, H5E_CANTSET, FAIL, "can't set collective metadata read info") |