From 54697cc596e7734c5890e58414833e97f5438861 Mon Sep 17 00:00:00 2001 From: Chris Hogan Date: Wed, 27 Nov 2019 16:39:26 -0600 Subject: Set the dcpl for the context on dataset creation --- src/H5D.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/H5D.c b/src/H5D.c index 17c102c..f49a8a3 100644 --- a/src/H5D.c +++ b/src/H5D.c @@ -136,6 +136,9 @@ H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, if(TRUE != H5P_isa_class(dcpl_id, H5P_DATASET_CREATE)) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not dataset create property list ID") + /* Set the DCPL for the API context */ + H5CX_set_dcpl(dcpl_id); + /* Set the LCPL for the API context */ H5CX_set_lcpl(lcpl_id); -- cgit v0.12