diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-13 15:00:06 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-13 15:00:06 (GMT) |
commit | 3f25d6c6d1ae867a93ea904fe9bbf0f744ac052c (patch) | |
tree | 14b4fca4690d97018a4c3c92da8a075812e92b1e /src/H5Gloc.c | |
parent | 2355d25955756f689f68bc6d8681116e2a41a5a6 (diff) | |
download | hdf5-3f25d6c6d1ae867a93ea904fe9bbf0f744ac052c.zip hdf5-3f25d6c6d1ae867a93ea904fe9bbf0f744ac052c.tar.gz hdf5-3f25d6c6d1ae867a93ea904fe9bbf0f744ac052c.tar.bz2 |
[svn-r12895] Description:
Add new H5Lget_val_by_idx() routine & tests.
Also includes most of changes for H5Ldelete_by_idx() routine.
Tested on:
Mac OS X/32 10.4.8 (amazon)
FreeBSD/32 4.11 (sleipnir)
Linux/32 2.4 (heping)
Linux/64 2.4 (mir)
AIX/32 5.? (copper)
Diffstat (limited to 'src/H5Gloc.c')
-rw-r--r-- | src/H5Gloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Gloc.c b/src/H5Gloc.c index 24cfddb..f33680a 100644 --- a/src/H5Gloc.c +++ b/src/H5Gloc.c @@ -443,7 +443,7 @@ done: *------------------------------------------------------------------------- */ herr_t -H5G_loc_remove(H5G_loc_t *grp_loc, const char *name, H5G_loc_t *obj_loc, hid_t dxpl_id) +H5G_loc_remove(H5G_loc_t *grp_loc, const char *link_name, H5G_loc_t *obj_loc, hid_t dxpl_id) { H5G_obj_t obj_type; /* Type of object removed */ herr_t ret_value = SUCCEED; /* Return value */ @@ -452,10 +452,10 @@ H5G_loc_remove(H5G_loc_t *grp_loc, const char *name, H5G_loc_t *obj_loc, hid_t d /* Check args. */ HDassert(grp_loc); - HDassert(name && *name); + HDassert(link_name && *link_name); /* Remove object from group */ - if(H5G_obj_remove(grp_loc->oloc, name, &obj_type, dxpl_id) < 0) + if(H5G_obj_remove(grp_loc->oloc, link_name, &obj_type, dxpl_id) < 0) HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "component not found") /* Search the open IDs and replace names for unlinked object */ |