summaryrefslogtreecommitdiffstats
path: root/src/H5Gobj.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-11-16 04:29:18 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-11-16 04:29:18 (GMT)
commitfb4f4a22f7053619349b30821b7f06266e54598b (patch)
tree6b1cae17789aedb051fd1858c7a10fb0e16d8cef /src/H5Gobj.c
parentab9425d057dd0a61154dc78e158707fabf45dfe2 (diff)
downloadhdf5-fb4f4a22f7053619349b30821b7f06266e54598b.zip
hdf5-fb4f4a22f7053619349b30821b7f06266e54598b.tar.gz
hdf5-fb4f4a22f7053619349b30821b7f06266e54598b.tar.bz2
[svn-r12922] Description:
Add support for "delete by index" to "old-style" groups, finishing implmentation of H5Ldelete_by_idx() routine. Tested on: FreeBSD/32 4.11 (sleipnir) Linux/32 2.4 (heping) Linux/64 2.4 (mir) Aix/32 5.? (copper)
Diffstat (limited to 'src/H5Gobj.c')
-rw-r--r--src/H5Gobj.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/H5Gobj.c b/src/H5Gobj.c
index 6db0060..3e0310c 100644
--- a/src/H5Gobj.c
+++ b/src/H5Gobj.c
@@ -1029,8 +1029,6 @@ H5G_obj_remove_by_idx(H5O_loc_t *grp_oloc, H5RS_str_t *grp_full_path_r,
else {
/* Clear error stack from not finding the link info message */
H5E_clear_stack(NULL);
-HDfprintf(stderr, "%s: Removing by index in symbol table not supported yet!\n", FUNC);
-HGOTO_ERROR(H5E_SYM, H5E_UNSUPPORTED, FAIL, "removing by index in symbol table not supported yet")
/* Can only perform name lookups on groups with symbol tables */
if(idx_type != H5L_INDEX_NAME)
@@ -1039,11 +1037,9 @@ HGOTO_ERROR(H5E_SYM, H5E_UNSUPPORTED, FAIL, "removing by index in symbol table n
/* Using the old format for groups */
use_old_format = TRUE;
-#ifdef QAK
/* Remove object from the symbol table */
- if(H5G_stab_remove_by_idx(grp_oloc, dxpl_id, grp_full_path_r, idx_type, order, n) < 0)
+ if(H5G_stab_remove_by_idx(grp_oloc, dxpl_id, grp_full_path_r, order, n) < 0)
HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "can't remove object")
-#endif /* QAK */
} /* end else */
/* Update link info for a new-style group */