From 5c50be3c0f3158a04564d4340cad1bd5eeb03799 Mon Sep 17 00:00:00 2001 From: Chris Hogan Date: Wed, 27 Nov 2019 12:20:59 -0600 Subject: Check for both default values --- src/H5L.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/H5L.c b/src/H5L.c index 4389950..5c52932 100644 --- a/src/H5L.c +++ b/src/H5L.c @@ -1795,7 +1795,7 @@ H5L__create_real(const H5G_loc_t *link_loc, const char *link_name, HGOTO_ERROR(H5E_LINK, H5E_BADVALUE, FAIL, "can't normalize name") /* Check for flags present in creation property list */ - if(lcpl_id != H5P_DEFAULT) { + if(lcpl_id != H5P_DEFAULT && lcpl_id != H5P_LINK_CREATE_DEFAULT) { unsigned crt_intmd_group; /* Get link creation property list */ @@ -2687,7 +2687,7 @@ H5L_move(const H5G_loc_t *src_loc, const char *src_name, const H5G_loc_t *dst_lo HDassert(dst_name && *dst_name); /* Check for flags present in creation property list */ - if(lcpl_id != H5P_DEFAULT) { + if(lcpl_id != H5P_DEFAULT && lcpl_id != H5P_LINK_CREATE_DEFAULT) { unsigned crt_intmd_group; if(NULL == (lc_plist = (H5P_genplist_t *)H5I_object(lcpl_id))) -- cgit v0.12