diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-09 02:51:48 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-09 02:51:48 (GMT) |
commit | 4ebe2f792b23cf3f62f28e90495cd28a93bad06f (patch) | |
tree | c1b4561f6435e2b51e8606a170e54109a62870e5 /src/H5HFiblock.c | |
parent | f372694841432684438046e4c75c633f738993f4 (diff) | |
download | hdf5-4ebe2f792b23cf3f62f28e90495cd28a93bad06f.zip hdf5-4ebe2f792b23cf3f62f28e90495cd28a93bad06f.tar.gz hdf5-4ebe2f792b23cf3f62f28e90495cd28a93bad06f.tar.bz2 |
[svn-r12732] Description:
Fix error with passing in new root indirect block instead of NULL pointer
to protect of previous root direct block, when converting heap to use a root
indirect block.
Tested on:
FreeBSD/32 4.11 (sleipnir) w/threadsafe
Linux/32 2.4 (heping) w/FORTRAN & C++
Linux/64 2.4 (mir) w/enable-1.6-compat
Diffstat (limited to 'src/H5HFiblock.c')
-rw-r--r-- | src/H5HFiblock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HFiblock.c b/src/H5HFiblock.c index 6d0df44..503846b 100644 --- a/src/H5HFiblock.c +++ b/src/H5HFiblock.c @@ -432,7 +432,7 @@ HDfprintf(stderr, "%s: have_direct_block = %u\n", FUNC, (unsigned)have_direct_bl H5HF_direct_t *dblock; /* Pointer to direct block to query */ /* Lock first (root) direct block */ - if(NULL == (dblock = H5HF_man_dblock_protect(hdr, dxpl_id, hdr->man_dtable.table_addr, hdr->man_dtable.cparam.start_block_size, iblock, 0, H5AC_WRITE))) + if(NULL == (dblock = H5HF_man_dblock_protect(hdr, dxpl_id, hdr->man_dtable.table_addr, hdr->man_dtable.cparam.start_block_size, NULL, 0, H5AC_WRITE))) HGOTO_ERROR(H5E_HEAP, H5E_CANTPROTECT, FAIL, "unable to protect fractal heap direct block") /* Attach direct block to new root indirect block */ |