summaryrefslogtreecommitdiffstats
path: root/src/H5Gdense.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-11-07 15:25:06 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-11-07 15:25:06 (GMT)
commitbc0b7c478f4d4857023baec12763e0fb5cb45222 (patch)
tree214f769be5409eac0cac65d2d4e5324adcf1d241 /src/H5Gdense.c
parenteb36a96a79dd1cd6514794a18baac5f13ce633ae (diff)
downloadhdf5-bc0b7c478f4d4857023baec12763e0fb5cb45222.zip
hdf5-bc0b7c478f4d4857023baec12763e0fb5cb45222.tar.gz
hdf5-bc0b7c478f4d4857023baec12763e0fb5cb45222.tar.bz2
[svn-r12873] Decription:
Add support for reverse index lookup to v2 B-trees (needed for reverse index lookup of links in groups) Tested on: Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Gdense.c')
-rw-r--r--src/H5Gdense.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Gdense.c b/src/H5Gdense.c
index 52aa5ce..46ba593 100644
--- a/src/H5Gdense.c
+++ b/src/H5Gdense.c
@@ -971,7 +971,7 @@ H5G_dense_get_name_by_idx(H5F_t *f, hid_t dxpl_id, H5O_linfo_t *linfo,
/* Retrieve the name according to the v2 B-tree's index order */
/* (XXX: using name index currently) */
- if(H5B2_index(f, dxpl_id, H5G_BT2_NAME, linfo->name_bt2_addr, idx,
+ if(H5B2_index(f, dxpl_id, H5G_BT2_NAME, linfo->name_bt2_addr, H5_ITER_INC, idx,
H5G_dense_get_name_by_idx_bt2_cb, &udata) < 0)
HGOTO_ERROR(H5E_SYM, H5E_CANTLIST, FAIL, "can't locate object in v2 B-tree")
@@ -1125,7 +1125,7 @@ H5G_dense_get_type_by_idx(H5F_t *f, hid_t dxpl_id, H5O_linfo_t *linfo,
/* Retrieve the name according to the v2 B-tree's index order */
/* (XXX: using name index currently) */
- if(H5B2_index(f, dxpl_id, H5G_BT2_NAME, linfo->name_bt2_addr, idx,
+ if(H5B2_index(f, dxpl_id, H5G_BT2_NAME, linfo->name_bt2_addr, H5_ITER_INC, idx,
H5G_dense_get_type_by_idx_bt2_cb, &udata) < 0)
HGOTO_ERROR(H5E_SYM, H5E_CANTLIST, FAIL, "can't locate object in v2 B-tree")