diff options
author | Chris Hogan <chogan@hdfgroup.org> | 2019-11-27 18:26:40 (GMT) |
---|---|---|
committer | Chris Hogan <chogan@hdfgroup.org> | 2019-11-27 18:26:40 (GMT) |
commit | a88b14b003c3c00e2d64cefd66cff4d043b98a26 (patch) | |
tree | d779d2167b9c23302c31623f0795dc6f572604c9 /src/H5L.c | |
parent | 3aedc32b1c0eb5c883665ce42e07249f106d3403 (diff) | |
download | hdf5-a88b14b003c3c00e2d64cefd66cff4d043b98a26.zip hdf5-a88b14b003c3c00e2d64cefd66cff4d043b98a26.tar.gz hdf5-a88b14b003c3c00e2d64cefd66cff4d043b98a26.tar.bz2 |
Check for both default LCPL values
Diffstat (limited to 'src/H5L.c')
-rw-r--r-- | src/H5L.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1999,7 +1999,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 */ @@ -2889,7 +2889,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))) |