summaryrefslogtreecommitdiffstats
path: root/src/H5B2.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-08-23 15:26:25 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-08-23 15:26:25 (GMT)
commit9c30e7bba121b63c62b2d76c1c0353a5145bdd73 (patch)
tree7dcc5f620076d83997058f311e0dd019339b9609 /src/H5B2.c
parent2c7ce93f85905bb31e594f55ab2cd0c125fb36be (diff)
downloadhdf5-9c30e7bba121b63c62b2d76c1c0353a5145bdd73.zip
hdf5-9c30e7bba121b63c62b2d76c1c0353a5145bdd73.tar.gz
hdf5-9c30e7bba121b63c62b2d76c1c0353a5145bdd73.tar.bz2
[svn-r12619] Description:
Fix off-by-one error in computing the size of metadata prefixes for v2 B-tree internal & leaf nodes. General code cleanup and reformating. Tested On: Mac OS X.4/PPC (amazon) Too minor to require h5committest
Diffstat (limited to 'src/H5B2.c')
-rw-r--r--src/H5B2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5B2.c b/src/H5B2.c
index 44dade3..5f2e3ca 100644
--- a/src/H5B2.c
+++ b/src/H5B2.c
@@ -196,7 +196,7 @@ H5B2_insert(H5F_t *f, hid_t dxpl_id, const H5B2_class_t *type, haddr_t addr,
/* Mark B-tree header as dirty, since we updated the address of the root node */
bt2_flags |= H5AC__DIRTIED_FLAG;
} /* end if */
- /* Check if we need to split the root node (equiv. to a 1->2 leaf node split) */
+ /* Check if we need to split the root node (equiv. to a 1->2 node split) */
else if((bt2->depth==0 && bt2->root.node_nrec==shared->split_leaf_nrec) ||
(bt2->depth>0 && bt2->root.node_nrec==shared->split_int_nrec)) {
/* Split root node */