diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2012-09-13 19:18:45 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2012-09-13 19:18:45 (GMT) |
commit | 495b8de00214c9f99d6f10fd91de0feef55cefa8 (patch) | |
tree | 3b4b59b6de32b179aa2cb0c67e6ca739b89c47af /src/H5B2hdr.c | |
parent | 4e44c3b7e27e3cd76d148bc5158a17d747aeea62 (diff) | |
download | hdf5-495b8de00214c9f99d6f10fd91de0feef55cefa8.zip hdf5-495b8de00214c9f99d6f10fd91de0feef55cefa8.tar.gz hdf5-495b8de00214c9f99d6f10fd91de0feef55cefa8.tar.bz2 |
[svn-r22761] Purpose: Fix testswmr failures
Description:
Patched H5B2 shadowed list implementation to remove nodes from the shadowed list
when they are evicted, and added some missing initializations. Also removed
inadvertent temporary changes to the tests that disabled srandom, added
assertions and fixed formatting.
Tested: ummon
Diffstat (limited to 'src/H5B2hdr.c')
-rw-r--r-- | src/H5B2hdr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5B2hdr.c b/src/H5B2hdr.c index 54842ff..d0ea61b 100644 --- a/src/H5B2hdr.c +++ b/src/H5B2hdr.c @@ -214,6 +214,10 @@ HDmemset(hdr->page, 0, hdr->node_size); && (hdr->cls->id == H5B2_CDSET_ID || hdr->cls->id == H5B2_CDSET_FILT_ID); + /* Clear the shadowed list pointers */ + hdr->shadowed_leaf = NULL; + hdr->shadowed_internal = NULL; + /* Create the callback context, if the callback exists */ if(hdr->cls->crt_context) { if(NULL == (hdr->cb_ctx = (*hdr->cls->crt_context)(ctx_udata))) |