summaryrefslogtreecommitdiffstats
path: root/src/H5Gbtree2.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-02-07 02:18:17 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-02-07 02:18:17 (GMT)
commitd47a0604451a975d3389ff510b6cad6507ea7200 (patch)
tree31b5cdd1319799a8bd26c3c59545020356f88ce2 /src/H5Gbtree2.c
parent535d29a726e4faa7e58d4836e7099616105d6beb (diff)
downloadhdf5-d47a0604451a975d3389ff510b6cad6507ea7200.zip
hdf5-d47a0604451a975d3389ff510b6cad6507ea7200.tar.gz
hdf5-d47a0604451a975d3389ff510b6cad6507ea7200.tar.bz2
[svn-r13250] Description:
Add support for inserting attributes into creation order index. Also, update support for dense link & attribute storage in h5debug. Tested on: FreeBSD/32 6.2 (duty) Mac OS X/32 10.4.8 (amazon)
Diffstat (limited to 'src/H5Gbtree2.c')
-rw-r--r--src/H5Gbtree2.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/H5Gbtree2.c b/src/H5Gbtree2.c
index ed909c3..d8958fb 100644
--- a/src/H5Gbtree2.c
+++ b/src/H5Gbtree2.c
@@ -275,9 +275,9 @@ for(u = 0; u < H5G_DENSE_FHEAP_ID_LEN; u++)
#endif /* QAK */
/* Check hash value */
if(bt2_udata->name_hash < bt2_rec->hash)
- HGOTO_DONE(-1)
+ ret_value = (-1);
else if(bt2_udata->name_hash > bt2_rec->hash)
- HGOTO_DONE(1)
+ ret_value = 1;
else {
H5G_fh_ud_cmp_t fh_udata; /* User data for fractal heap 'op' callback */
herr_t status; /* Status from fractal heap 'op' routine */
@@ -302,10 +302,9 @@ for(u = 0; u < H5G_DENSE_FHEAP_ID_LEN; u++)
HDassert(status >= 0);
/* Callback will set comparison value */
- HGOTO_DONE(fh_udata.cmp)
+ ret_value = fh_udata.cmp;
} /* end else */
-done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5G_dense_btree2_name_compare() */