diff options
author | Chris Hogan <chogan@hdfgroup.org> | 2019-11-27 18:20:59 (GMT) |
---|---|---|
committer | Chris Hogan <chogan@hdfgroup.org> | 2019-11-27 18:20:59 (GMT) |
commit | 5c50be3c0f3158a04564d4340cad1bd5eeb03799 (patch) | |
tree | 828f8610a4b3754c5c03032af1ee9b5fe40216a0 /src/H5L.c | |
parent | bbc37549dafd31f9a7ea45bff26702e1a0346c32 (diff) | |
download | hdf5-5c50be3c0f3158a04564d4340cad1bd5eeb03799.zip hdf5-5c50be3c0f3158a04564d4340cad1bd5eeb03799.tar.gz hdf5-5c50be3c0f3158a04564d4340cad1bd5eeb03799.tar.bz2 |
Check for both default values
Diffstat (limited to 'src/H5L.c')
-rw-r--r-- | src/H5L.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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))) |