diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2017-04-11 15:40:00 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2017-04-11 15:40:00 (GMT) |
commit | da4b69097756158fdbfcbf52b5b552e2034d263d (patch) | |
tree | 51d646d6a737c1e4216f04b9c9fa16a0afc49277 /src/H5L.c | |
parent | a77bf61074122d4e6a100c09f23a684cd9655ff8 (diff) | |
parent | ccb4e9ed9a5e0af27db9f1504a628e35d7f4cf92 (diff) | |
download | hdf5-da4b69097756158fdbfcbf52b5b552e2034d263d.zip hdf5-da4b69097756158fdbfcbf52b5b552e2034d263d.tar.gz hdf5-da4b69097756158fdbfcbf52b5b552e2034d263d.tar.bz2 |
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into merge_hyperslab_updates
Diffstat (limited to 'src/H5L.c')
-rw-r--r-- | src/H5L.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2351,9 +2351,11 @@ H5L_delete_cb(H5G_loc_t *grp_loc/*in*/, const char *name, const H5O_link_t *lnk, if(name == NULL) HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "name doesn't exist") - /* Check for removing '.' */ + /* Check for non-existent (NULL) link. + * Note that this can also occur when attempting to remove '.' + */ if(lnk == NULL) - HGOTO_ERROR(H5E_SYM, H5E_CANTDELETE, FAIL, "can't delete self") + HGOTO_ERROR(H5E_SYM, H5E_CANTDELETE, FAIL, "callback link pointer is NULL (specified link may be '.' or not exist)") /* Remove the link from the group */ if(H5G_obj_remove(grp_loc->oloc, grp_loc->path->full_path_r, name, udata->dxpl_id) < 0) |